-
Notifications
You must be signed in to change notification settings - Fork 0
Color_get_saturation
hpgDesigns edited this page Aug 8, 2021
·
1 revision
NOTOC {{-}}
Gets the saturation of an HSV color value, and returns the result. In ENIGMA color values are represented in the range of 0-255 for RGB and HSV, and alpha is between 0 and 1.
- col, HSV color value
Returns the saturation of the color value, (between 0 and 255).
color_get_saturation(c_black);Demonstrates obtaining the saturation of the color value black, which is zero for black. If we asked for white it would return 255.
This is number 1