Learn R Programming

highcharter (version 0.9.4)

is.hexcolor: Check if a string vector is in hexadecimal color format

Description

Check if a string vector is in hexadecimal color format

Usage

is.hexcolor(x)

Arguments

x

A string vectors

Examples

Run this code
# NOT RUN {
x <- c("#f0f0f0", "#FFf", "#99990000", "#00FFFFFF")

is.hexcolor(x)
# }

Run the code above in your browser using DataLab