libxyz :: ui :: colors :: BaseHighColor :: Class BaseHighColor |
[hide private]
[frames] | no frames]

# Class BaseHighColor

source code

    object --+
             |
         Color --+
                 |
                BaseHighColor

High color can contain value of form:

#009 (0% red, 0% green, 60% red, like HTML colors) #fcc (100% red, 80% green, 80% blue) g40 (40% gray, decimal), 'g#cc' (80% gray, hex), #000, 'g0', 'g#00' (black), #fff, 'g100', 'g#ff' (white) h8 (color number 8), 'h255' (color number 255)

Instance Methods | [hide private]
is_color_valid(self, color) Check if color is valid | source code
_set_color(self, color) | source code
Inherited from `Color`: `__init__`, `__repr__`, `__str__` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`

Class Variables | [hide private]
Inherited from `Color`: `colors`, `ctype`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### is_color_valid(self, color) | source code
Check if color is valid Overrides: Color.is_color_valid (inherited documentation)

### _set_color(self, color) | source code
Overrides: Color._set_color