Learn R Programming

ReporteRs (version 0.8.10)

is.color: color checking

Description

Check if character string is a valid color representation

Usage

is.color(x)

Arguments

x

value(s) to be tested

Details

see http://stackoverflow.com/questions/13289009/check-if-character-string-is-a-valid-color-representation/13290832#13290832

See Also

pptx, docx

Examples

Run this code
# NOT RUN {
is.color( c(NA, "black", "blackk", "1", "#00", "#000000") )
# }

Run the code above in your browser using DataLab