farbraum

Crates.iofarbraum
lib.rsfarbraum
version0.1.0
sourcesrc
created_at2021-11-10 20:05:37.220537
updated_at2021-11-10 20:05:37.220537
descriptionColor space conversions
homepagehttps://github.com/Aloso/farbraum
repositoryhttps://github.com/Aloso/farbraum
max_upload_size
id479875
size77,109
Ludwig Stecher (Aloso)

documentation

README

farbraum

Rust crate to convert between color spaces. "Farbraum" /ˈfarbraʊ̯m/ is German for "color space".

Most conversion functions are ported from the culori javascript library. Some parts were modified to make the results more accurate.

Usage

Look at the documentation.

Color spaces

Farbraum supports 24 color spaces, including sRGB, HSL, HSV, Oklab, CIELAB, CIELUV, CIE XYZ and more. See the full list.

Cargo features

  • double-precision: Components are floating-point values, by default f64. If you disable the double-precision feature, f32 is used instead.
  • serde: Enable this feature to serialize and deserialize Color values.

License

This project is licensed under either of

at your option.

Commit count: 14

cargo fmt