Categories

Updated: 10/04/2000

Color Safe Palette or Nested For Next Loops && Arrays

The browser can do a great many things, but it has a limit of 216 colors that can safely (without dithering or color washout) display. Fortunately, there are many ways that you can display all the color combinations in the browser safe color palette. By placing the six possible values for color (00,33,66,99,CC,FF) in an array and nesting three for next statements with values one through six a table with all the color codes will neatly be displayed in a table.
©2019 A--9.com