/palette

A Rust library for linear color calculations and conversion

Primary LanguageRustApache License 2.0Apache-2.0

palette

Crates.io Docs.rs

A color management and conversion library that focuses on maintaining correctness, flexibility and ease of use. It makes use of the type system to prevent mistakes, support a wide range of color spaces including user defined variants and offer different ways of integrating with other libraries.

Usage and examples can be found in the palette directory.

Online Documentation

Released

Master branch

Minimum Supported Rust Version (MSRV)

This version of Palette has been automatically tested with Rust version 1.61.0, 1.63.0, and the stable, beta, and nightly channels. The minimum supported version may vary with the set of enabled features.

Future versions of the library may advance the minimum supported version to make use of new language features, but this will normally be considered a breaking change. Exceptions may be made for security patches, dependencies advancing their MSRV in minor or patch releases, and similar changes.

Contributing

All sorts of contributions are welcome (including especially speling corrections), so take a look at CONTRIBUTING.md for guidelines, if you are interested.

License

Licensed under either of

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.