with.alpha: Set the alpha value of a color.

with.alphaR Documentation

Set the alpha value of a color.

Description

Set the alpha value of a color.

Usage

## S3 method for class 'alpha'
with(color, alpha = 1)

Arguments

color

Color specified as a name or hex string.

alpha

Value in range [0,1] for alpha.

Value

A hex string representing the color with the chosen alpha.


Ergative/logisticat documentation built on May 17, 2022, 12:32 a.m.