|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home BasePack SDLColors Procedures and Functions RandomColor|
|See also: InterpolateColor, Interpolate3Colors, WavelengthToColor|
The function RandomColor returns a random color which is deducted from the built-in random generator. Thus you have to use Randomize before calling RandomColor the first time in order to avoid identical sequences of "random" colors.
There are two overloaded versions available: version  always spans the entire color range; version  can be restricted to a color range defined by the parameters RedMin, RedMax, GreenMin, GreenMax, BlueMin, and BlueMax.