3 ms·
If you want to have it much faster, use transparent PNG image for saturation-value rectangle instead of drawing everything in canvas and then just color its bac
by bd 16y ago
If you want to have it much faster, use transparent PNG image for saturation-value rectangle instead of drawing everything in canvas and then just color its background property according to hue.
Long ago I needed color picker, so I did research many options. This was the most efficient implementation I found (the trick I described above comes from here):
http://ecritters.biz/colorselector/ http://ecritters.biz/colorselector/