Creating a color picker with html5 canvas