% Generated by roxygen2: do not edit by hand % Please edit documentation in R/colorspace.R \name{polarLAB} \alias{polarLAB} \title{Create polarLAB Colors} \usage{ polarLAB(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{polarLAB} which inherits from class \code{color}. } \description{ This function creates colors of class ``polarLAB''; a subclass of the virtual \code{\link{color-class}} class. } \details{ The polarLAB space is a transformation of the CIE \eqn{L^*a^*b^*}{L*a*b*} space so that the \eqn{a} and \eqn{b} values are converted to polar coordinates. The radial component \eqn{C} measures chroma and the angular coordinate \eqn{H} is measures hue. } \examples{ ## Show the polarLAB space set.seed(1) x <- sRGB(runif(1000), runif(1000), runif(1000)) y <- as(x, "polarLAB") 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}