Skip to content

Convert color between RGB,HSL,HSB,CMYK,YUV,YIQ,XYZ,xyY,Lab,Luv,LCH ...

Notifications You must be signed in to change notification settings

quangduyitx/yy_color_convertor

This branch is up to date with ibireme/yy_color_convertor:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Aug 22, 2013
d9e457c · Aug 22, 2013

History

5 Commits
Aug 22, 2013
Aug 22, 2013
Aug 22, 2013
Aug 22, 2013
Aug 22, 2013

Repository files navigation

YY Color Convertor

Convert color between RGB,HSL,HSB,CMYK,YUV,YIQ,XYZ,xyY,Lab,Luv,LCH ...

README

Mostly, the value in this code is in range 0 to 1.

Example:

double r, b, g, h, s, l;
r = 1.0;
g = 0.0;
b = 0.2;

RGB2HSL(r, g, b, &h, &s, &l);

About

Convert color between RGB,HSL,HSB,CMYK,YUV,YIQ,XYZ,xyY,Lab,Luv,LCH ...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published