Description: Linearly blends two RGB TColor values using an 8-bit mixing factor.
Calling convention: CIP_BlendColors (Color1: TColor, Color2: TColor, MixingFactor: Byte): TColor
Parameters:
Color1: first color, returned when MixingFactor is 0.
Color2: second color, returned when MixingFactor is 255.
MixingFactor: byte value from 0 through 255. When one color is NULL, the other is returned without reading this argument; when both are NULL, white is returned.
Returns: Blended TColor integer. NULL is returned when both colors are present but MixingFactor is NULL.
Availability: Default.
Example:
MixedColor := CIP_BlendColors(255, 16711680, 128);