Learn R Programming

voluModel (version 0.2.3)

transpColor: Transparent Color

Description

Generates transparent colors

Usage

transpColor(color, percent = 50)

Value

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

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.

Examples

Run this code

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

Run the code above in your browser using DataLab