Learn R Programming

colourspace (version 0.0.1)

oklab_to_hex: Convert OKLAB to HEX

Description

Convert OKLAB to HEX

Usage

oklab_to_hex(oklab)

Value

Character vector of hex colours.

Arguments

oklab

Numeric vector/matrix of OKLAB values (l in 0-1).

Examples

Run this code
oklab_to_hex(c(0.628, 0.225, 0.126))

Run the code above in your browser using DataLab