Re: [NTG-context] ConTeXt color to text

2012-09-04 Thread Peter Rolf
Am 03.09.2012 20:36, schrieb Hans Hagen: > On 3-9-2012 18:59, Peter Rolf wrote: >> Hi, >> >> for a batch command (ImageMagick) I need to convert ConTeXt colors to a >> text representation (e.g. rgb 'red' -> 'rgb(255,0,0)'; same for color >> models cmyk and gray). >> What is the best way to get (rea

Re: [NTG-context] ConTeXt color to text

2012-09-03 Thread Hans Hagen
On 3-9-2012 18:59, Peter Rolf wrote: Hi, for a batch command (ImageMagick) I need to convert ConTeXt colors to a text representation (e.g. rgb 'red' -> 'rgb(255,0,0)'; same for color models cmyk and gray). What is the best way to get (read only) access to the color channels of a defined color?

[NTG-context] ConTeXt color to text

2012-09-03 Thread Peter Rolf
Hi, for a batch command (ImageMagick) I need to convert ConTeXt colors to a text representation (e.g. rgb 'red' -> 'rgb(255,0,0)'; same for color models cmyk and gray). What is the best way to get (read only) access to the color channels of a defined color? Peter