closest_named_color | R Documentation |
Closest colorjam named_colors for a vector of colors
closest_named_color(
x,
colorSet = named_colors,
C_min = Cgrey,
Cgrey = getOption("jam.Cgrey", 5),
showPalette = FALSE,
colorModel = c("hcl", "LUV"),
Hwt = 2.5,
Cwt = 1,
Lwt = 4,
warpHue = TRUE,
preset = "ryb",
method = "maximum",
returnType = c("color", "name", "match"),
verbose = FALSE,
...
)
x |
character vector of colors, either in hex format or any valid color in R. |
colorSet |
|
C_min , Cgrey |
Reworded in short:
|
showPalette |
|
colorModel |
|
Hwt , Cwt , Lwt |
|
warpHue |
|
preset |
|
method |
|
returnType |
|
verbose |
|
Other colorjam core:
blend_colors()
,
closestRcolor()
,
color_complement()
,
colors_to_df()
,
group2colors()
,
rainbowJam()
,
sort_colors()
,
subset_colors()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.