I fail to understand the color mixing of xcolor
.
I want to have a lighter and a darker version of a color defined as
\definecolor{BlueLUH}{cmyk}{1.0,0.7,0,0}
My approach of lighter and darker is this one
\colorlet{LightBlue}{BlueLUH!20!white}
\colorlet{DarkBlue}{BlueLUH!80!black!20}
which according to the docs is replaced internally to
\colorlet{LightBlue}{BlueLUH!20!white!white}
\colorlet{DarkBlue}{BlueLUH!80!black!20!white}
Now I wonder what is actually calulated, bcause I get the same for Light and Dark, as can be seen in the following screenshot:
Best Answer
That are different colors, but cannot be seen! 20% of black is less than light gray! Compare it with a 40% of black! The values for the cmyk color can easily be seen in the pdf output when using
\pdfcompresslevel=0
.The colors are calculated as: