Learn R Programming

colorhex (version 0.1.4)

get_palette: Get palettes from id

Description

Get palette information from www.color-hex.com based on the palette id (can be found in the url)

Usage

get_palette(id)

Value

data.frame with palette information

Arguments

id

numeric id of a palette

Examples

Run this code
if(curl::has_internet()){
get_palette(103107)

# Lookup multiple palettes
id <- c(103161, 103107)
get_palette(id)
}

Run the code above in your browser using DataLab