Color.from_hex

classmethod Color.from_hex(value)

Construct a color from a hexadecimal color value.

Parameters

value (str) – The hexadecimal color.

Returns

compas.colors.Color