lab_to_xyz | R Documentation |
Convert from Lab space to XYZ colour channels.
lab_to_xyz(lab)
lab |
A dataframe or matrix with L, a and b colour channels located in the columns 1 to 3, respectively. |
A tibble
of X, Y and Z colour channels.
l <- sample(x = 40:60, size = 10, replace = TRUE)
a <- sample(x = -128:128, size = 10, replace = TRUE)
b <- sample(x = -128:128, size = 10, replace = TRUE)
lab_to_xyz(data.frame(l = l, a = a, b = b))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.