This repository provides a small TikZ/PGF library that allows to visualize 2-D planes of various color spaces, e.g., RGB, HSV, HSL.
In your preamble, load the library:
\usetikzlibrary{colorplanes}
You can then access the color planes by name using the /tikz/shading
key,
e.g.,:
\shade [shading=H plane] (0,0) rectangle (1,2);
Supported color planes are:
DbDr plane
GB plane
H plane
HL plane
HS plane
IQ plane
RB plane
RG plane
UV plane
The library is licensed under the LPPL.