Functions§
- chromify_
srgb - Preserves the luma of one color while changing its chromaticity to match the other
- hsv_
to_ rgb - Convert hsv to rgb. Expects h [0, 360], s [0, 1], v [0, 1]
- linear_
to_ srgb - linear_
to_ srgba - rgb_
to_ hsv - Convert rgb to hsv. Expects rgb to be [0, 1].
- rgb_
to_ xyy - Convert linear rgb to CIExyY
- rgb_
to_ xyz - Convert linear rgb to CIEXYZ
- saturate_
srgb - srgb_
to_ linear - directly converted from ‘vec3 srgb_to_linear(vec3 srgb)’ function in ‘srgb.glsl’
- srgb_
to_ linear_ fast - This function is optimized for speed over perfect accuracy
- srgba_
to_ linear - xyy_
to_ rgb - Convert to CIExyY to linear rgb