Predefined Functions - hsl
Description:
The function
The parameters The fourth color component, the alpha value of the color, is always set to 1 (i.e. color is totally opaque). If you want to initialize the alpha value as well, please use the hsla-function The parameters are only used to specify the color. The function takes these values, performs a color space conversion (HSL to RGB format) and creates the RGB values from those parameters. Colors in ChaosPro are always stored in the format RGBA. So this function is rather slow due to the color space conversion. HSL Color SpaceThe HSL color space defines colors more naturally: Hue specifies the base color, the other two values then let you specify the saturation of that color and how bright the color should be.
After specifying the color using the hue value you can specify the saturation of your color. In the HSL color wheel the saturation specifies the distance from the middle of the wheel. So a saturation value of 0 means "center of the wheel", i.e. a grey value, whereas a saturation value of 1 means "at the border of the wheel", i.e. the of the color should be fully saturated. The third parameter in the HSL color space is the luminance: It lets you specify how "bright" the color should be: 0 means, the bringhtness is 0, and this means,
the color is black. 1 means maximum brightness, i.e. the color is white. The following six luminance sliders show you what happens with colors if you change the luminance:
|