farbraum 0.1.0

Color space conversions
Documentation
  • Coverage
  • 90.63%
    29 out of 32 items documented1 out of 26 items with examples
  • Size
  • Source code size: 78.21 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 11.27 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 12s Average build duration of successful builds.
  • all releases: 12s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Aloso/farbraum
    2 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Aloso

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.