parse_colour_hsl_to_hex(colour_func_text)

Arguments

colour_func_text

string representing an hsl() or hsla() colour e.g. 'hsl(50, 0.5, 0.5)'

Value

hex colour

Examples

if (FALSE) { parse_colour_hsl_to_hex('hsl(50, 0.5, 0.5)') }