ImageEn, unit iexColorPalette

GenerateColorLuminancePalette


Declaration


function GenerateColorLuminancePalette(Color: TColor; ColorCount: Integer = 256; MinL : Integer = 10; MaxL : Integer = 240): TIEArrayOfTRGB;


Description

Returns an array of all luminance value (in the range MinL to MaxL) for a color.


Example

// Return all shades of blue
aArray := GenerateColorLuminancePalette( clBlue, 100 );


See Also

 GenerateGradientPalette
 GenerateHuePalette
 GenerateDicomColorPalette
 AssignPalette