Test if the object is a color

is_color(x)

Arguments

x

An object

Value

TRUE if the object inherits from the color class.