-
Notifications
You must be signed in to change notification settings - Fork 3
Architecture
MusNik edited this page Nov 16, 2023
·
3 revisions
WIP
graph TD;
XYZ-->LinearRGB;
LinearRGB-->RGB;
RGB-->HSV;
RGB-->HSL;
XYZ-->Lab;
Lab-->LCH;
XYZ-->LMS;
LMS-->OKLab;
OKLab-->OKLCH;
- Constructor
-
Setters
- setColor(color)
- setHex(hex)
- setRGB([red], [green], [blue])
- setLinearRGB([red], [green], [blue])
- setHSV([hue], [saturation], [value])
- setHSL([hue], [saturation], [lightness])
- setLab([lightness], [a], [b])
- setLCH([lightness], [chroma], [hue])
- setOKLab([lightness], [a], [b])
- setOKLCH([lightness], [chroma], [hue])
- setLMS([long], [medium], [short])
- setXYZ([x], [y], [z])
- Getters
- Gamut Mapping
- Color Getters
- Mixing
- Cloning