Colour Picker
Chris Pilkington
Copyright (C) 2015-present
http://chris.iluo.net/projects/colourpicker
If you find this project helpful, please consider making a donation.
License
This software is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This software is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this software; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
What is this?
This is just a colour picker written in javascript, but it also has 3 other colour pickers that show a basic simulation of what a colour blind person might see.
The four colour pickers available are:
RGB
RGB Protanope - Reds are greatly reduced (1% of men)
RGB Deuteranope - Greens are greatly reduced (1% of men)
RGB Tritanope - Blues are greatly reduced (0.003% of the population)
The four colour pickers are essentially intertwined. With some massaging a colour picker class could be extracted so that a single colour picker could be instantiated independently.
Credit
Zerotheme's zSarah Theme
http://www.zerotheme.com/1376/zsarah-free-responsive-html5-template.html
Rob Tarr's Colour Picker
http://seesparkbox.com/foundry/how_i_built_a_canvas_color_picker
https://gist.github.com/robtarr/1199770