Color Picker with pure JS using canvas