Hey I have an array of hexadecimal colors and for each color in the array I want to create a 80px by 80px square representing that color. What would be faster performance wise?
1: Use the canvas tag iterating over the array and using the fillStyle and fillRect();
or
2: Iterating over the array and creating a div box and setting the background color of the div to the current color in the array.
Note: I have 1034 colors and I am open the other suggestions but it has to be web based and can not be flash.