Lymui is a color library which allows you to convert an RGB color to an other color (see the supported list of colors below).
Color | Supported |
---|---|
Rgb | ✅ |
Ansi | ✅ |
Cymk | ✅ |
Grayscale | ✅ |
Hex | ✅ |
Hsl | ✅ |
Hue | ✅ |
Hwb | ✅ |
Ycbcr | ✅ |
Yuv | ✅ |
Xyz | ✅ |
Adobe RGB | ✅ |
sRGB | ✅ |
Hcl | ✅ |
Hunter lab | ✅ |
Cie Lab | ✅ |
Lch Lab | ✅ |
Luv | ✅ |
Oklab | ✅ |
Oklach | ✅ |
rec.709 | ✅ |
rec.2020 | ✅ |
rec.2100 (PQ) | ✅ |
Xyy | ✅ |
An example is available in the example folder. You can run it by using the command below
cargo run --example example