HSL
Arithmetics
5.1 OC
int
int
byH
Hue of the color. 0 is red, 85 is green, 170 is blue, and 255 is red again.
int
byS
Saturation of the color. This is the color contrast.
int
byL
Brightniss of the color. A brightness of 0 would correspond to RGB(0,0,0).
Creates a 32 bit color value from three parameters. Range is 0-255 for all parameters.
SetSkyAdjust(HSL(0,255,127));
Makes a ruddy sky.
SetColorDw(HSL(Random(256),255,127),GetHiRank(0));
Colors the highest ranking clonk of the first player in a strong, random color.
RGB
RGBa
HSLa
Newton2005-06