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