thomasp85 / farver

High Performance Colourspace Manipulation in R
https://farver.data-imaginist.com
Other
128 stars 14 forks source link

Lab and Luv spaces don't get column names #23

Closed hadley closed 4 months ago

hadley commented 3 years ago
library(farver)

decode_colour("#4D6F8D", to = "Luv")
#>          [,1]      [,2]      [,3]
#> [1,] 45.45406 -16.38278 -28.57429
decode_colour("#4D6F8D", to = "Lab")
#>          [,1]      [,2]      [,3]
#> [1,] 45.45406 -3.682845 -20.23601

Created on 2020-10-30 by the reprex package (v0.3.0.9001)