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] 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. Aditya
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 .. 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 Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On 08/06/20 13:25, 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 .. 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
*I* clearly prefer the Metapostish way! :-) Alan
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
participants (3)
-
Aditya Mahajan
-
Alan Braslau
-
Hans Hagen