Functions¶
|
|
Details¶
- GData.color_from_hexadecimal(hexadecimal)¶
- Parameters:
hexadecimal (
str) – a hexadecimal color string- Returns:
Trueon success,Falseotherwise- color:
- Return type:
(
bool, color:GData.Color)
Parses hexadecimal and returns a
GData.Colordescribing 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.