Crates.io | yunter |
lib.rs | yunter |
version | 0.1.0 |
source | src |
created_at | 2018-04-14 12:36:00.678022 |
updated_at | 2018-04-14 12:36:00.678022 |
description | convert from one color-space to another |
homepage | https://github.com/vente-privee/yunter |
repository | |
max_upload_size | |
id | 60557 |
size | 14,133 |
A Rust library to convert from one color-space to another.
Documentation can be found on http://docs.rs/yunter.
yunter
is named after Thomas Young and Richard S. Hunter, who worked on colour theory and the Hunter Lab color space.
extern crate yunter;
let rgb = Rgb::new(176, 57, 209);
let xyz: Xyz = rgb.into();
let lab: Lab = rgb.into();