inkspot.converter

Converters between RGB space and other colour spaces, inspired
from python implementations from https://github.com/xav/Grapefruit

complementary

(complementary color)
Complimentary color conversion, largely by taking the HSL
value, and rotating the Hue by 180 degrees, and then converting
back to RGB.

grayscale

(grayscale color)
RGB to greyscale conversion, largely by taking the Luma
value from Y'UV conversion.

hsl->rgb

(hsl->rgb [h s l a])
HSL (Hue, Saturation and Luminosity) to RGB conversion.

hsv->rgb

(hsv->rgb [h s v a])
HSV (Hue, Saturation, Value) to RGB conversion.

rgb->hsl

(rgb->hsl color)
RGB to HSL (Hue, Saturation and Luminosity) conversion.

rgb->hsv

(rgb->hsv color)
RGB to HSV (Hue, Saturation, Value) conversion.

rgb->yuv

(rgb->yuv color)
RGB to Y'UV (Luma, Chrominance) Conversion.

yuv->rgb

(yuv->rgb [y u v a])