Learn R Programming

palette (version 0.0.2)

palette_decode_url: Convert a URL to a palette

Description

This function takes a URL from either <coolors.co> or <colorhunt.co> and returns the palette.

Usage

palette_decode_url(x)

Value

a vector of type palette

Arguments

x

A URL from either 'coolors.co' or 'colorhunt.co'

Examples

Run this code
palette_decode_url('https://coolors.co/ff4444-ffae4d-ffff60-50ff50-3939fa')
palette_decode_url('https://www.colorhunt.co/palette/b5c0d0ccd3caf5e8ddeed3d9')

Run the code above in your browser using DataLab