xyz_to_hsl {schemr} | R Documentation |
Convert XYZ to HSL
Description
Convert XYZ to HSL
Usage
xyz_to_hsl(xyz, transformation = "sRGB", linear_func = NULL)
Arguments
xyz |
A dataframe or matrix with X, Y and Z colour channels located in the columns 1 to 3, respectively. |
transformation |
An option in |
linear_func |
A function to convert RGB colour space into linear RGB space. Used only if a custom transformation matrix is provided. Transformation skips if no function is provided under a user-defined transformation matrix. See: https://en.wikipedia.org/wiki/SRGB. |
Value
A tibble
of H, S and L colour channels.
[Package schemr version 0.3.0 Index]