bibliopixel.colors.colors module¶
-
class
bibliopixel.colors.colors.
Colors
[source]¶ Bases:
object
Colors is a “magic” color name object.
To get a color from a name, useCOLORS.<colorname>
- for exampleCOLORS.red COLORS.ochre
or if the name is a variable or has a space in it,
COLORS['violet red 4']
To get a name from a color, use
COLOR((0, 255, 255))