powered by
Convert HEX to OKLCH
hex_to_oklch(hex)
Numeric vector (length 3) or matrix with columns l, c, h.
l
c
h
Character vector of hex colour strings.
hex_to_oklch("#ff0000")
Run the code above in your browser using DataLab