Skip to contents

Convert any valid R color specification to HSV.

Usage

colToHSV(col, useAlphaChannel = FALSE)

Arguments

col

vector of valid R colors.

useAlphaChannel

logical indicating whether the alpha channel should be included.

Value

Numeric HSV matrix.