Best Tutorials website


Color Safe Palette or Nested For Next Loops & Arrays

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.




Views: 491 | Rating star | by Brad




View this tutorial
Broken link Report broken link?