| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/hcl_color_picker.R |
| 3 |
\name{hcl_color_picker} |
| 4 |
\alias{hcl_color_picker} |
| 5 |
\alias{choose_color} |
| 6 |
\alias{hclcolorpicker} |
| 7 |
\title{Graphical User Interface to Pick Colors in HCL Space} |
| 8 |
\usage{ |
| 9 |
hcl_color_picker(shiny.trace = FALSE) |
| 10 |
|
| 11 |
choose_color(shiny.trace = FALSE) |
| 12 |
} |
| 13 |
\arguments{ |
| 14 |
\item{shiny.trace}{logical: used for debugging the shiny interface.} |
| 15 |
} |
| 16 |
\value{ |
| 17 |
\code{hclcolorpicker} invisibly returns a vector of colors choosen. |
| 18 |
If no colors have been selected \code{NULL} will be returned. |
| 19 |
} |
| 20 |
\description{ |
| 21 |
The app visualizes colors either along the hue-chroma plane for a given luminance value or along the |
| 22 |
luminance-chroma plane for a given hue. Colors can be entered by specifying the hue (H), chroma (C), |
| 23 |
and luminance (L) values via sliders, by entering an RGB hex code, or by clicking on a color in the |
| 24 |
hue-chroma or luminance-chroma plane. It is also possible to select individual colors and add them |
| 25 |
to a palette for comparison and future reference. |
| 26 |
} |
| 27 |
\details{ |
| 28 |
\code{choose_color} is a convenience alias for \code{hcl_color_picker} to |
| 29 |
go along with \code{\link{choose_palette}}. Another alias is \code{hclcolorpicker}. |
| 30 |
} |
| 31 |
\examples{ |
| 32 |
\dontrun{ |
| 33 |
hcl_color_picker() |
| 34 |
} |
| 35 |
} |
| 36 |
\references{ |
| 37 |
Zeileis A, Fisher JC, Hornik K, Ihaka R, McWhite CD, Murrell P, Stauffer R, Wilke CO (2020). |
| 38 |
\dQuote{colorspace: A Toolbox for Manipulating and Assessing Colors and Palettes.} |
| 39 |
\emph{Journal of Statistical Software}, \bold{96}(1), 1--49. \doi{10.18637/jss.v096.i01} |
| 40 |
} |
| 41 |
\seealso{ |
| 42 |
\code{\link{choose_palette}} |
| 43 |
} |
| 44 |
\author{ |
| 45 |
Claus O. Wilke, Reto Stauffer, Achim Zeileis |
| 46 |
} |
| 47 |
\keyword{misc} |