colours 0.1.0

Color types for different color models with conversions between it.
Documentation

Color types with conversions

This library implements color types for some widely used color models such as RGB, HSL, HSV and variants with alpha channel. The support for other models may be added in future.

Each type parameterized using channel type: u8 or f32. The channel value range for u8 is from 0 to 255, and for f32 is from 0.0 to 1.0.