\environment ppchtex-mkiv-style

\startcomponent ppchtex-mkiv-color

\chapter{Color}

In \CONTEXT\ you can colorize parts of a structure. In~\in
{example} [ex:color] the substituent as well as the bond are
colored red.

\startbuffer
\startchemical[axis=on,frame=on,width=5000]
  \chemical[SIX,B]
  \setupchemical[color=red,rulecolor=blue]
  \chemical[SIX,R1,RZ1][COOH]
\stopchemical
\stopbuffer

\startfiguretext
  [left][]
  {none}
  {\getbuffer}
\example[ex:color]
\typebuffer
\stopfiguretext

We will provide more control over color.

\stopcomponent
