Crates.io | farbraum |
lib.rs | farbraum |
version | 0.1.0 |
source | src |
created_at | 2021-11-10 20:05:37.220537 |
updated_at | 2021-11-10 20:05:37.220537 |
description | Color space conversions |
homepage | https://github.com/Aloso/farbraum |
repository | https://github.com/Aloso/farbraum |
max_upload_size | |
id | 479875 |
size | 77,109 |
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.
Look at the documentation.
Farbraum supports 24 color spaces, including sRGB, HSL, HSV, Oklab, CIELAB, CIELUV, CIE XYZ and more. See the full list.
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.This project is licensed under either of
at your option.