This example shows the four attributes for specifying colours in IDF.

The PAGE is cream (BGCOLOUR) with the string "original text". The string is partially covered by a GROUP with grey background (BGCOLOUR) and a green border (BORDERCOLOUR). This contains an ellipse drawn in red (COLOUR) with a cyan FILL. Another string "New!" in yellow (COLOUR) on magenta (FILL) is added on top of the GROUP.

<IDF UNITS="INCHES" PAPER="A4" ORIENT="P" >

<PAGE BGCOLOUR="100,100,80" >

<TEXT LEFT="0.75" TOP="2" STRING="original text" />

<GROUP LEFT="1" TOP="1.5" WIDTH="3" HEIGHT="2" BGCOLOUR="75,75,75" BORDERS="L,R,T,B" BORDERSTYLE="DASHED" BORDERCOLOUR="GREEN" BORDERWIDTH="0.01" SHAPE="ELLIPSE" COLOR="RED" THICKNESS="0.01" FILL="CYAN" />

<TEXT LEFT="1.5" TOP="2.5" STRING="NEW!" POINTSIZE="18" COLOUR="YELLOW" FILL="MAGENTA" />

</PAGE>

</IDF>