Learn R Programming

colourspace (version 0.0.1)

oklch_to_hex: Convert OKLCH to HEX

Description

Convert OKLCH to HEX

Usage

oklch_to_hex(oklch)

Value

Character vector of hex colours.

Arguments

oklch

Numeric vector/matrix of OKLCH values (l in 0-1, c >= 0, h in degrees).

Examples

Run this code
oklch_to_hex(c(0.628, 0.258, 29.221))

Run the code above in your browser using DataLab