merge_nearest_colors | R Documentation |
Merge colors based on similarity and frequency
merge_nearest_colors(color_vec, k = 12)
color_vec |
A vector of hex or R colors |
k |
The number of colors to retain |
a vector of merged colors with equal length to color_vec.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.