Color.from_hex

classmethod Color.from_hex(value)[source]

Construct a color from a hexadecimal color value.

Parameters:
valuestr

The hexadecimal color.

Returns:
compas.colors.Color