vrml.csscolors
index
/home/mcfletch/pylive/vrml/csscolors.py

Module to allow using strings to specify colors

 
Functions
       
stringToColor(value)
Given a string/unicode value, determine appropriate color
toFloat(value, shift=0)
Take single-byte integer value return floating point equivalent
toInt(value)
Take float value and give single-byte integer equivalent

 
Data
        __file__ = '/home/mcfletch/pylive/vrml/csscolors.pyc'
__name__ = 'vrml.csscolors'
cssColors = {'aliceblue': (0.94120000000000004, 0.97250000000000003, 1.0), 'antiquewhite': (0.98040000000000005, 0.92159999999999997, 0.84309999999999996), 'aqua': (0.0, 1.0, 1.0), 'aquamarine': (0.498, 1.0, 0.83140000000000003), 'azure': (0.94120000000000004, 1.0, 1.0), 'beige': (0.96079999999999999, 0.96079999999999999, 0.86270000000000002), 'bisque': (1.0, 0.89410000000000001, 0.76859999999999995), 'black': (0.0, 0.0, 0.0), 'blanchedalmond': (1.0, 0.92159999999999997, 0.80389999999999995), 'blue': (0.0, 0.0, 1.0), ...}