![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Mon, 8 Jun 2020, Hans Hagen wrote:
On 6/8/2020 7:36 AM, Aditya Mahajan wrote:
Hi,
The 'light' colors defined in colo-imp-rgb.mkiv are not light!
\definecolor [lightred] [r=1, g=0, b=0] \definecolor [lightgreen] [r=0, g=1, b=0] \definecolor [lightblue] [r=0, g=0, b=1] \definecolor [lightcyan] [r=0, g=1, b=1] \definecolor [lightmagenta] [r=1, g=0, b=1] \definecolor [lightyellow] [r=1, g=1, b=0]
hm, a compatibility thing
Is this intentional? How about replacing them with somewhat reasonable defaults?
\definecolor [lightred] [r=1, g=0.5, b=0.5] \definecolor [lightgreen] [r=0.5, g=1, b=0.5] \definecolor [lightblue] [r=0.75, g=1, b=1] \definecolor [lightcyan] [r=0.5, g=1, b=1] \definecolor [lightmagenta] [r=1, g=0.5, b=1] \definecolor [lightyellow] [r=1, g=1, b=0.5]
See attached output. These are not the ideal choices in terms of shades, but I have chosen values which are least subjective and still give reasonable shades. your blue is kind of weird ..
0.5(blue,white) does look like light blue to it, but it is better than 1.0(blue) :-)
this is the metapostisch way:
\definecolor [lightred] [.5(red,white)] \definecolor [lightgreen] [.5(green,white)] \definecolor [lightblue] [.5(blue,white)] \definecolor [lightcyan] [.5(cyan,white)] \definecolor [lightmagenta] [.5(magenta,white)] \definecolor [lightyellow] [.5(yellow,white)]
which i bet you prefer
Much nicer. Thanks, Aditya