% Generated by roxygen2: do not edit by hand % Please edit documentation in R/colorspace.R \name{polarLUV} \alias{polarLUV} \alias{HCL} \title{Create polarLUV (HCL) Colors} \usage{ polarLUV(L, C, H, names) } \arguments{ \item{L, C, H}{these arguments give the L, C and H coordinates of the colors. The values can be provided in separate \code{L}, \code{C} and \code{H} vectors or in a three-column matrix passed as \code{L}.} \item{names}{A vector of names for the colors (by default the row names of \code{L} are used).} } \value{ An object of class \code{polarLUV} which inherits from class \code{color}. } \description{ This function creates colors of class ``polarLUV''; a subclass of the virtual \code{\link{color-class}} class. } \details{ The polarLUV space is a transformation of the CIE \eqn{L^*u^*v^*}{L*u*v*} space so that the \eqn{u} and \eqn{v} values are converted to polar coordinates. The radial component \eqn{C} measures chroma and the angular coordinate \eqn{H} is measures hue. It is also known as the HCL (hue-chroma-luminance) space. } \examples{ ## Show the polarLUV space set.seed(1) x <- sRGB(runif(1000), runif(1000), runif(1000)) y <- as(x, "polarLUV") head(x) head(y) plot(y) } \seealso{ \code{\link{RGB}}, \code{\link{HSV}}, \code{\link{XYZ}}, \code{\link{LAB}}, \code{\link{polarLAB}}, \code{\link{LUV}}, \code{\link{polarLUV}}. } \author{ Ross Ihaka } \keyword{color}