-
Notifications
You must be signed in to change notification settings - Fork 0
Color_get_saturation
hugh greene edited this page Jun 20, 2022
·
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.
edited by hpg678 on Github