| coolors_pal | R Documentation |
Get a color palette from a coolors.co URL
coolors_pal(url)
url |
The link to a coolors.co palette, e.g.
|
character(5) with RGB color codes, e.g.
c("#29adb2", "#182326", "#2a3a3f", "#69818c", "#8ea4b2") for the example url.
It's only the URL that's parsed, there's no need for an internet connection.
The url does not need to be valid, since only hex strings of length 6 (i.e.
color codes like F75AB1) are looked for, and a # is prepended.
coolors_pal("https://coolors.co/29adb2-182326-2a3a3f-69818c-8ea4b2")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.