Functions¶
|
|
Details¶
- GData.color_from_hexadecimal(hexadecimal)¶
- Parameters:
hexadecimal (
str
) – a hexadecimal color string- Returns:
True
on success,False
otherwise- color:
- Return type:
(
bool
, color:GData.Color
)
Parses hexadecimal and returns a
GData.Color
describing it in color.hexadecimal should be in the form
#rrggbb
, where rr is a two-digit hexadecimal red intensity value, gg is green and bb is blue. The hash is optional.