Revision 4f15df359377f56f09d9518b026c26bb1d95bd2f authored by SESman on 18 August 2015, 13:39:30 UTC, committed by SESman on 20 August 2015, 10:04:54 UTC
1 parent 516eaa0
Raw File
transp.Rd
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/utils_plot.r
\name{transp}
\alias{darker}
\alias{lighter}
\alias{transp}
\title{Color helpers}
\usage{
transp(col, factor = 0.5)

lighter(col, factor = 0.5)

darker(col, factor = 0.5)
}
\arguments{
\item{col}{A vector of colors to transform.}

\item{factor}{A value ranging between 0 and 1 decribing the strenght of
the effet.}
}
\value{
\code{transparent} returns a transparent version of the input colors
with an alpha equal to the factor argument.

\code{lighter} returns a brightened version of the input colors.

\code{darker} returns a darkened version of the input colors.
}
\description{
Color helpers
}
\keyword{internal}

back to top