nicholas-miklaucic / scarlet

Colors and color spaces made simple, for Rustaceans.
Apache License 2.0
23 stars 6 forks source link
cielab color graphics library rgb rust

Scarlet

Colors and color spaces made simple, for Rustaceans.

Build
Status Crates.io dependency status Documentation

Humans and computers don't view color the same way, and so color descriptions like RGB don't effectively describe colors in the way that humans perceive them and vice versa. Image processing and other disciplines require the ability to interconvert and work with colors in a way that respects both how colors are displayed and how they are perceived by the human eye. Scarlet makes this not only possible, but simple and convenient. With Scarlet, you can:

Installation

Add this to your Cargo.toml:

[dependencies]
scarlet = "1.1.0"

and this to your crate root:

extern crate scarlet;

Documentation

Consult the documentation at docs.rs.

Contributing Guidelines

Before making a pull request, please consult the contributing guidelines.

The gist of it is:

General Philosophy

To look at the general philosophy and API design of Scarlet, please look at api.org. This is more intended for developers.