-
Notifications
You must be signed in to change notification settings - Fork 132
/
brighten.Rd
21 lines (20 loc) · 675 Bytes
/
brighten.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils_plot.R
\name{brighten}
\alias{brighten}
\title{Brighten up a Color}
\usage{
brighten(col, factor)
}
\arguments{
\item{col}{Colour to be brightened up. Can be anything that is digestible by \code{\link[=col2rgb]{col2rgb()}}.}
\item{factor}{Numeric. The rate with which the color channel should be boosted. Must be in the range between 0 and 1.}
}
\value{
A character vector as returned by \code{\link[=rgb]{rgb()}}.
}
\description{
Brighten up a specified color (e.g., the swarm color in \code{\link[=apa_beeplot]{apa_beeplot()}}).
\emph{This function is not exported.}
}
\keyword{internal}