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

The PAGE is cream (BGCOLOR) with the string "original text". The string is partially covered by a GROUP with grey background (BGCOLOR) and a green border (BORDERCOLOR). This contains an ellipse drawn in red (COLOR) with a cyan FILL. Another string "New!" in yellow (COLOR) 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>