colTrans: Transform color

View source: R/rMEA_graphics.R

colTransR Documentation

Transform color

Description

Transform color

Usage

colTrans(col, luminosity = NA, alpha = NA)

Arguments

col

a color to begin with in hex format

luminosity

numeric. negative numbers darken the color, positive lighten it. Eg: a value of -2 make the color two times darker.

alpha

numeric from 0 to 1. the value of opacity of the resulting color

Value

a color string


rMEA documentation built on March 18, 2022, 5:41 p.m.