adjust.brightness: Adjust color brightness

View source: R/tcata.R

adjust.brightnessR Documentation

Adjust color brightness

Description

Select suitable colors for highlighting plots.

Usage

adjust.brightness(rgb.in, percent = 10)

Arguments

rgb.in

rgb of input color

percent

the degree to which input color will be modified/brightened

Value

hex hex code for new color

Examples

(rgb.in <- c(col2rgb("red")))
adjust.brightness(rgb.in, percent = 10)

tempR documentation built on Sept. 8, 2023, 5:19 p.m.