Skip to contents

Get color information from www.color-hex.com of a hex-color.

Usage

get_color(hex)

Arguments

hex

character string that is a hexidecimal color

Value

list of class 'colorhex'

Examples

if(curl::has_internet()){
get_color("#470f0f")
}
#> # Color-hex: #470f0f
#> RGB: 71, 15, 15
#> HSL: 0.00, 0.65, 0.17
#> CMYK: 0.00, 0.79, 0.79   0.72
#> triadic: #470f0f, #0f470f, #0f0f47
#> complementary: #470f0f
#> complementary: #0f4747
#> used in 2 palettes