Dynamicaly generate a Web Safe Color palette with JavaScript
Generating web safe color palette can be easily done using JavaScript. Web safe palette contains 256 colors that we can come up with by mixing some basic colors.
Here is the code
//first lets start with the table that will contain the palette t='
| #'+l+' | '; } t +='
That's it. Pretty simple!
Here is the example
Do you like this or find it useful? Drop me a note or treat me to a double-espresso from my favorite coffee shop.

Comments
No Comments