Color.from_hex

classmethod Color.from_hex(value)

Construct a color from a hexadecimal color value.

Parameters

value (str) – The hexadecimal color.

Returns

Color