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 Interpolate3Colors | |||||||||
See also: InvertColor, RandomColor, InterpolateColor | |||||||||
Interpolate3Colors |
|||||||||
The function Interpolate3Colors calculates an interpolated color between the three predefined colors cl1, cl2 and cl3. The parameter Level which may vary between 0.0 and 1.0 controls how the three colors are mixed. A zero value returns color cl1, a value of 0.5 returns color cl2, and a value of 1.0 returns cl3, any value between returns a mixed color.
|