hsv

Convert hue h, saturation s, and value v to an RGB color vector. All arguments are in the range [0, 1]

vec3 hsv(float h, float s, float v);

Get the hue of an RGB/RGBA color in the range [0, 1]

float hue(vec3 color);
float hue(vec4 color);

Get the saturation of an RGB/RGBA color in the range [0, 1]

float saturation(vec3 color);
float saturation(vec4 color);

Get the value of an RGB/RGBA color in the range [0, 1]

float value(vec3 color);
float value(vec4 color);