DefineColor
Colors defined with DefineColors can be referenced later by their name.
Child elements: (none)
Parent elements: AtPageCreation, AtPageShipout, Case, Contents, ForAll, Include, Layout, Loop, Otherwise, Record, SavePages, Until, While
Blue part with RGB
Cyan part with CMYK
Green part with RGB / gray part when using the model gray
Black part with CMYK
Magenta part with CMYK
Color model to be used for the color. Currently “rgb”, “cmyk” and “gray” are supported. More on request.
cmyk: |
CMYK (cyan, magenta, yellow, key/black) |
rgb: |
RGB (red, green, blue) |
gray: |
Gray (0=Black) |
The name of the color to be defined.
Red part with RGB
Yellow part with CMYK
<DefineColor name="black" model="cmyk" c="0" m="0" y="0" k="100"/> <DefineColor name="white" model="rgb" r="100" g="100" b="100"/>