are_colors: Are Colors?

View source: R/are_colors.R

are_colorsR Documentation

Are Colors?

Description

Determines if the input is a vector of valid colors according to the grDevices::col2rgb function.

Usage

are_colors(color_vector)

Arguments

color_vector

vector; A vector of color values.

Details

Follows the advice from SO

Value

A logical vector.


MVR-GIS/nybem documentation built on Feb. 9, 2023, 7:03 a.m.