""" python/etc/colour.py: CCP4MG Molecular Graphics Program Copyright (C) 2001-2005 University of York, CCLRC Copyright (C) 2012 STFC This library is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License version 3, modified in accordance with the provisions of the license to address the requirements of UK law. You should have received a copy of the modified GNU Lesser General Public License along with this library. If not, copies may be downloaded from http://www.ccp4.ac.uk/ccp4license.php This program 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. """ # Initial definitition of the 'standard' colours rgbreps = [ ['default', [1.00,1.00,1.00,1.0] ], ['ice blue', [0.61,0.69,1.00,1.0] ], ['gold', [0.70,0.69,0.24,1.0] ], ['coral', [1.00,0.50,0.31,1.0] ], ['grey', [0.50,0.50,0.50,1.0] ], ['pink', [1.00,0.57,1.00,1.0] ], ['sea green', [0.50,0.73,0.71,1.0] ], ['pale brown', [0.66,0.49,0.37,1.0] ], ['lilac', [0.68,0.53,0.73,1.0] ], ['lemon', [1.00,1.00,0.50,1.0] ], ['lawn green', [0.27,0.61,0.31,1.0] ], ['pale crimson', [0.82,0.24,0.24,1.0] ], ['light blue', [0.25,0.60,0.88,1.0] ], ['tan', [0.47,0.00,0.00,1.0] ], ['light green', [0.60,1.00,0.60,1.0] ], ['yellow', [1.00,1.00,0.00,1.0] ], ['white', [1.00,1.00,1.00,1.0] ], ['blue', [0.00,0.00,1.00,1.0] ], ['red', [1.00,0.00,0.00,1.0] ], ['green', [0.00,1.00,0.00,1.0] ], ['magenta', [1.00,0.00,1.00,1.0] ], ['cyan', [0.00,1.00,0.88,1.0] ], ['purple', [0.58,0.00,1.00,1.0] ], ['dark purple', [0.57,0.13,0.34,1.0] ], ['dark cyan', [0.1,0.6,0.7,1.0] ], ['black', [0.00,0.00,0.00,1.0] ] ]