
|
A re:color represents a user defined color spaces that is available for use within a re:ality XML document. A color space, is a way of defining a set of values from a small set of base colors, that when combined in the correct quantities, give a much wider collection of colors known as the color gamut. There are also specialist color spaces that have custom inks and/or formula that are specific to an organisations reference Color space (e.g. PANTONE™). XML Tag<re:color name='' type='' value='' /> DTD
<!ELEMENT re:colors EMPTY>
<!ATTLIST re:color
%name; %value;
type
(
cmyk |
rgb |
spot |
grayscale
) "cmyk"
>
Reference examplesChildrenNone Attributesname, value, type Style Propertiesnone nameThe name attribute specifies a named_reference that is used to identify this color. This value must be unique, as only one named_reference to a color can exist at any one time if two or more colors share the same name then the last color loaded will be referenced. valueThe value attribute specifies a color_array for this element (re:color). typeThe type attribute specifies a COLOR_TYPE constant used to identify this element, color space. |