Difference between revisions of "Colorblindfriendly"
(Added basic page for Colorblindfriendly.py script)
Revision as of 11:14, 28 February 2014
|This code has been put under version control in the project Pymol-script-repo|
Certain colors are indistinguishable to people with the various forms of color blindness, and therefore are better not used in figures intended for public viewing.
This script generates a palette of named colors for PyMOL that are unambiguous both to colorblind and non-colorblind individuals.
The colors listed here are defined according to recommendations found at J*FLY. This website is a good reference to consult when making all kinds of figures, not just those made using PyMOL.
The 0-255 RGB values from the J*FLY page have been used and converted to decimal notation (e.g. 230/255 = 0.902).
|cb_sky_blue||0.337||0.706||0.914||cb_skyblue, cb_light_blue, cb_lightblue|
|cb_vermillion||0.835||0.369||0.0||cb_red, cb_red_orange, cb_redorange|
|cb_reddish_purple||0.8||0.475||0.655||cb_reddishpurple, cb_rose, cb_violet, cb_magenta|
Use these color names just like any other named color, using the
import colorblindfriendly color cb_skyblue, all