Intensity

function Intensity(Color32: TColor32): Integer;

Description

Returns weighted intensity of the color, which is calculated as

I = R * 0.21 + G * 0.71 + B * 0.08;

See Also

Color32, Gray32, Color Types