Skip to contents

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.

Value

A logical vector.

Details

Follows the advice from SO