Learn R Programming

colourspace (version 0.0.1)

hex_to_oklab: Convert HEX to OKLAB

Description

Convert HEX to OKLAB

Usage

hex_to_oklab(hex)

Value

Numeric vector (length 3) or matrix with columns l, a, b.

Arguments

hex

Character vector of hex colour strings.

Examples

Run this code
hex_to_oklab("#ff0000")

Run the code above in your browser using DataLab