Back to index

python3.2  3.2.2
Classes | Namespaces | Functions | Variables
ColorDB.py File Reference

Go to the source code of this file.

Classes

class  pynche.ColorDB.BadColor
class  pynche.ColorDB.ColorDB
class  pynche.ColorDB.RGBColorDB
class  pynche.ColorDB.HTML40DB
class  pynche.ColorDB.LightlinkDB
class  pynche.ColorDB.WebsafeDB

Namespaces

namespace  pynche.ColorDB

Functions

def pynche.ColorDB.get_colordb
def pynche.ColorDB.rrggbb_to_triplet
def pynche.ColorDB.triplet_to_rrggbb
def pynche.ColorDB.triplet_to_fractional_rgb
def pynche.ColorDB.triplet_to_brightness

Variables

 pynche.ColorDB.DEFAULT_DB = None
string pynche.ColorDB.SPACE = ' '
string pynche.ColorDB.COMMASPACE = ', '
list pynche.ColorDB.FILETYPES
dictionary pynche.ColorDB._namedict = {}
dictionary pynche.ColorDB._tripdict = {}
tuple pynche.ColorDB._maxtuple = (256.0,)
tuple pynche.ColorDB.colordb = get_colordb('/usr/openwin/lib/rgb.txt')
string pynche.ColorDB.target = 'navy'
tuple pynche.ColorDB.t0 = time.time()
tuple pynche.ColorDB.nearest = colordb.nearest(r, g, b)
tuple pynche.ColorDB.t1 = time.time()
tuple pynche.ColorDB.aliases = colordb.aliases_of(r, g, b)