Home of the opto isolated, bus powered, DMX512 interface with both in and out universes. Cheap and simple to build. USBDMX logo

Color Mix Attribute

A color mix attribute is based on a Proportional Attribute, however is defines 3 sets of proportional channels (each can be 8 or 16 bit). Also defined is a new element to describe the type of color mixing. This can be one of the following :-

  • CMY - Cyan Magenta Yellow
  • RGB - Red Green Blue
  • HSV - Hue Saturation Value

The XML definition for an 8 bit color mix attribute is :

<attribute name="name" type="color mix">
 <resolution bits="8" name="cyan">
   <range base="start" offset="3" type="proportional" start="0" end="255"/>
 <resolution bits="8" name="magenta">
   <range base="start" offset="4" type="proportional" start="0" end="255"/>
 <resolution bits="8" name="green">
   <range base="start" offset="5" type="proportional" start="0" end="255"/>
 <colormix type="CMY"/>

The colour mix could also be 16 bit resolution, which would be defined as in a Proportional Attribute .