ShadesColor: Create lighter and darker versions of a color.

View source: R/Plot4CATA.R

ShadesColorR Documentation

Create lighter and darker versions of a color.

Description

ShadesColor: Create lighter and darker versions of a color used by PrettyBarPlotColor to create faked transparent colors.

Usage

ShadesColor(aColor, jiffy = 40)

Arguments

aColor

the color to use

jiffy

A small amount to make darker or clearer default = 40.

Value

A list: 1) testColorDarker: the darker version of aColor; 2) testColorLighter the lighter version of aColor.

Author(s)

Hervé Abdi

Examples

twoColors <- ShadesColor('Red',50)

HerveAbdi/PTCA4CATA documentation built on July 17, 2022, 5:41 a.m.