# colors

How to download and try this example

    Usage: pl -gif colors.htm

    // This example uses the #include operator to include a chunk of
    // code (colorsub.htm) that will be executed
    // repeatedly, once for each color.

    #declare COLOR
    #declare X
    #declare Y

    #set Y = 5.2

    #set COLOR = black
    #set X = 1
    #include colorsub.htm

    #set COLOR = gray(0.3)
    #set X = 2
    #include colorsub.htm

    #set COLOR = gray(0.8)
    #set X = 3
    #include colorsub.htm

    #set COLOR = gray(0.9)
    #set X = 4
    #include colorsub.htm

    #set COLOR = tan1
    #set X = 5
    #include colorsub.htm

    #set COLOR = tan2
    #set X = 6
    #include colorsub.htm

    #set Y = 4.5
    //////////////////////
    #set COLOR = red
    #set X = 1
    #include colorsub.htm

    #set COLOR = magenta
    #set X = 2
    #include colorsub.htm

    #set COLOR = claret
    #set X = 3
    #include colorsub.htm

    #set COLOR = coral
    #set X = 4
    #include colorsub.htm

    #set COLOR = pink
    #set X = 5
    #include colorsub.htm

    #set Y = 3.8
    //////////////////////
    #set COLOR = orange
    #set X = 1
    #include colorsub.htm

    #set COLOR = redorange
    #set X = 2
    #include colorsub.htm

    #set COLOR = lightorange
    #set X = 3
    #include colorsub.htm

    #set COLOR = rgb(1,0.6,0.5)
    #set X = 6
    #include colorsub.htm

    #set Y = 3.1
    //////////////////////
    #set COLOR = yellow
    #set X = 1
    #include colorsub.htm

    #set COLOR = yellow2
    #set X = 2
    #include colorsub.htm

    #set COLOR = dullyellow
    #set X = 3
    #include colorsub.htm

    #set COLOR = yelloworange
    #set X = 4
    #include colorsub.htm

    #set Y = 2.4
    //////////////////////
    #set COLOR = brightgreen
    #set X = 1
    #include colorsub.htm

    #set COLOR = green
    #set X = 2
    #include colorsub.htm

    #set COLOR = kelleygreen
    #set X = 3
    #include colorsub.htm

    #set COLOR = teal
    #set X = 4
    #include colorsub.htm

    #set COLOR = drabgreen
    #set X = 5
    #include colorsub.htm

    #set COLOR = yellowgreen
    #set X = 6
    #include colorsub.htm

    #set COLOR = limegreen
    #set X = 7
    #include colorsub.htm

    #set Y = 1.7
    //////////////////////
    #set COLOR = brightblue
    #set X = 1
    #include colorsub.htm

    #set COLOR = darkblue
    #set X = 2
    #include colorsub.htm

    #set COLOR = blue
    #set X = 3
    #include colorsub.htm

    #set COLOR = oceanblue
    #set X = 4
    #include colorsub.htm

    #set COLOR = skyblue
    #set X = 5
    #include colorsub.htm

    #set Y = 1
    ////////////////////////
    #set COLOR = purple
    #set X = 1
    #include colorsub.htm

    #set COLOR = lavender
    #set X = 2
    #include colorsub.htm

    #set COLOR = lightpurple
    #set X = 3
    #include colorsub.htm

    #set COLOR = powderblue
    #set X = 4
    #include colorsub.htm

    #set COLOR = powderblue2
    #set X = 5
    #include colorsub.htm