Removed the #colorCanvas function and used CSS backgroundColor property.