Crates.io | scarlet |
lib.rs | scarlet |
version | 1.2.0 |
source | src |
created_at | 2018-02-27 03:08:51.548697 |
updated_at | 2023-07-11 17:00:23.503859 |
description | Colors and color spaces made simple |
homepage | |
repository | https://github.com/nicholas-miklaucic/scarlet |
max_upload_size | |
id | 52982 |
size | 720,852 |
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:
Add this to your Cargo.toml
:
[dependencies]
scarlet = "1.1.0"
and this to your crate root:
extern crate scarlet;
Consult the documentation at docs.rs.
Before making a pull request, please consult the contributing guidelines.
The gist of it is:
cargo test
should result in all tests passing. If tests themselves are wrong, change
those in the pull request and explain the errors. Don't disable tests to make cargo test
pass
unless you have a really good reason!To look at the general philosophy and API design of Scarlet, please look at api.org
. This is more
intended for developers.