The ICPI color palettes can be imported as hex vectors into R. To do so, you can use the 'add_colors()' function to extract from Github.
There are four color palette. To simplify the input, you will just use the last word of the color palette name in lower case.
Palette Name | Input – | – Autumn Woods | "woods" Coast of Bohemia | "bohemia" Tidepools | "tidepools" By the Power of Grayscale | "grayscale"
which color palette to pull in (lower case, last word), Default = "woods"
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.