Updating canvas code
Refactoring rgb from objects to arrays
Adding for loop to draw color squares