add.alpha: Add transparency to any color

View source: R/paleoDiv.R

add.alphaR Documentation

Add transparency to any color

Description

Add transparency to any color

Usage

add.alpha(col, alpha = 0.5)

Arguments

col

Color value or vector of colors

alpha

Opacity value to apply to the color(s)

Value

A character vector containing color hex codes.

Examples

add.alpha("red",0.8)

paleoDiv documentation built on Oct. 17, 2024, 5:08 p.m.