df_hcl: Create HCL data-frame using HL surface

View source: R/surface_hl.R

df_hclR Documentation

Create HCL data-frame using HL surface

Description

Create HCL data-frame using HL surface

Usage

df_hcl(df_cl, sfc)

Arguments

df_cl

data.frame with columns c, l.

sfc

function created using surface_hl().

Value

tibble with columns h, c, l

Examples

  sfc_blues_multi <- surface_hl(c(240, 260))
  df_cl <- data.frame(l = c(20, 50, 80), c = c(0, 150, 0))

  df_hcl(df_cl, sfc_blues_multi)

ijlyttle/colorpath documentation built on Sept. 13, 2022, 7:44 p.m.