Skip to contents

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)
}
#>                                  name     id
#> 1 Garden Follies Over The Moon Tattoo 103161
#> 2                        Virtual Guru 103107
#>                                       palette
#> 1 #7d0101, #64530f, #f8f8f8, #4372b0, #d0ad13
#> 2 #ffffff, #a0e2e4, #ffc643, #2abfc9, #000000