Learn R Programming

pcutils (version 0.2.8)

add_alpha: Add alpha for a Rcolor

Description

Add alpha for a Rcolor

Usage

add_alpha(color, alpha = 0.3)

Value

8 hex color

Arguments

color

Rcolor

alpha

alpha, default 0.3

Examples

Run this code
add_alpha("red", 0.3)

Run the code above in your browser using DataLab