Figure 1 -Part of the WebSafe Color Table
There is a list of 216 colors (6 Red x 6 Green x 6 Blue)which
are called WebSafe. These colors are guaranteed to display and in the
right hue on any web browser. The browser image on the left shows a
partial listing of the WebSafe colors.
This Cold Fusion sample execise will produce the table shown of those
WebSafe colors. In the process, developers will see an example of nested
for-loops and HTML table construction.
Creating tables in Cold Fusion is essential for smart formatting of
output. This example shows the logical grouping - the table declaration
occurs outside all the loops - then each cell is done at the inner-most
loop, and the row declarations are done at the second most inner loop.
Finally, the Table is closed off at the end of all the loops. Get used
to this template, it will occur over and over again in your Cold Fusion