Learn R Programming

sportyR (version 2.2.2)

is_hex: Identify if a passed color is a hexadecimal string

Description

Identify if a passed color is a hexadecimal string

Usage

is_hex(col_str = "")

Value

A boolean indicating if the string is in fact hexadecimal

Arguments

col_str

The potentially-hexadecimal string to check