transpColor: Transparent Color

View source: R/visualizations.R

transpColorR Documentation

Transparent Color

Description

Generates transparent colors

Usage

transpColor(color, percent = 50)

Arguments

color

Anything that can be interpreted by rgb as a color.

percent

A whole number between 0 and 100 specifying how transparent the color should be.

Value

A character string with hex color, including adjustment for transparency.

Examples


transpColor(color = "red", percent = 50)


voluModel documentation built on Sept. 11, 2024, 8:04 p.m.