Skip to content

shigedangao/lymui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lymui 🌈

Lymui is a color library which allows you to convert an RGB color to an other color (see the supported list of colors below).

⚠️ I'm not a color expert. Most of the implementation formula's are based on articles that I founded on wikipedia, blog post but the colors conversion has been cross-checked with other websites and articles. But I'm open to any fixes if there are errors 😁

Supported colors

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 βœ…

Examples

An example is available in the example folder. You can run it by using the command below

cargo run --example example