Lib for modifying colors and converting to other spaces
https://github.com/emgyrz/colorsys.rs/pull/6 Fix hex_to_rgb extracting a hex from non hex strings
Fix f64 round method in no_std env (issue)
Update rust edition to 2021
Fix typo: https://github.com/emgyrz/colorsys.rs/pull/4 Update units in README
Realized converters to/from ANSI 256 color codes
Add CMYK color model
Add no_std
environment compatibility
Breaking changes: Remove From/Into
implementations of Rgb
and Hsl
where used non float numbers with passing alpha channel value. ( (u8,u8,u8,u8), [i32;4], etc. ) Because in most cases it is useless. This reduced the compiled lib size: from 952Kb to 780Kb (rlib, rustc v1.47.0)
Add ratio representations of colour models - RgbRatio
and HslRatio
Add innumerable From/Into implementations. Now conversions are available into (and from) almost all possible variants of numeric arrays and tuples