palette_decode_url | R Documentation |
This function takes a URL from either <coolors.co> or <colorhunt.co> and returns the palette.
palette_decode_url(x)
x |
A URL from either 'coolors.co' or 'colorhunt.co' |
a vector of type palette
palette_decode_url('https://coolors.co/ff4444-ffae4d-ffff60-50ff50-3939fa')
palette_decode_url('https://www.colorhunt.co/palette/b5c0d0ccd3caf5e8ddeed3d9')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.