get_palette: Get palettes from id

View source: R/palette.R

get_paletteR Documentation

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)

Arguments

id

numeric id of a palette

Value

data.frame with palette information

Examples

if(curl::has_internet()){
get_palette(103107)

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

colorhex documentation built on Sept. 11, 2023, 9:06 a.m.