# Re: [NTG-context] definition and separation of colors

```On 16-11-2010 9:37, Henning Hraban Ramm wrote:
```
```I stumpled upon a ambiguous color definition in my automatically
generated documents:```
```
\definecolor[Custom][c=0,m=1,y=0,k=0,r=0,g=0,b=0,]
```
```
```
you should not mix definitions (so, either cmyk or rgb or g of h of hsv keys)
```
```
```It seems that in ConTeXt the RGB definition always takes precedence? Is
this intended?
```
```
just a side effect of definitions

```
when a rgb color is defined, internally conversions to cmyk and gray take place and depending on the color space one of them is used
```
when an cmyk color is defined, ....

Hans

-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________
```