data-raw/farv_hex2.R

## code to prepare `farv_hex2` dataset goes here
farv_rgb2 <- tibble::tribble(
  ~r, ~g, ~b,
  148, 182, 210,
  221, 128, 71,
  165, 171, 129,
  216, 178, 92,
  123, 167, 157,
  150, 140, 140
)

farv_hex2 <- farv_rgb2 %>%
  farver::farv_rgb_hex()

usethis::use_data(farv_hex2, overwrite = TRUE)
davidbaniadam/farver documentation built on July 12, 2019, 11:51 p.m.