50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

colorhex (version 0.1.4)

get_color: Get color information

Description

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

Usage

get_color(hex)

Value

list of class 'colorhex'

Arguments

hex

character string that is a hexidecimal color

Examples

Run this code
if(curl::has_internet()){
get_color("#470f0f")
}

Run the code above in your browser using DataLab