colTrans {rMEA}R 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


[Package rMEA version 1.2.2 Index]