View source: R/color-sfclumsat.R
pth_color_sfclumsat | R Documentation |
Get color using surface, luminance, and saturation
pth_color_sfclumsat(surface, lum, sat = 1)
surface |
object with S3 class |
lum |
|
sat |
|
Object with S3 class pth_mat
, describing a color.
sfc_blue <- pth_new_surface("#0000FF") color <- pth_color_sfclumsat(sfc_blue, lum = 50, sat = 1) pth_to_hex(color)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.