pal_colors allow filter palettes considering colors.
1  | pal_colors(x, ..., dist = 75, only_alpha = TRUE)
 | 
x | 
 A pal object.  | 
... | 
 character, name of colors.  | 
only_alpha | 
 logical  | 
distance | 
 numeric, Distance to the colors.  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.