No compromises colour data library for Rust.
-
Support for:
- [] RGB
- [] (CIE) XYZ
- [] HSL
- [] HSV
- [] sRGB and more, with fast, correct conversion from any to any.
-
no_std
support (with a defaultstd
feature to gate any functionality requiringstd
) -
Minimal dependencies
-
Safe (
#![forbid(unsafe_code)]
) -
Implement basic colour operations:
- [] Darken/Lighten
- [] Alpha Blending
- [] Average
- [] Distance (within a space)
- [] (De)saturate
- [] Hue Rotation