Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

add_transparency

Add transparency to colors


Description

Add transparency to colors

Usage

add_transparency(col, transparency = 0)

Arguments

col

A vector of colors.

transparency

Transparency, numeric value between 0 and 1.

Value

A vector of colors.

Examples

add_transparency("red", 0.5)
add_transparency(1, 0.5)
add_transparency("#FF000080", 0.2)

circlize

Circular Visualization

v0.4.12
MIT + file LICENSE
Authors
Zuguang Gu
Initial release
2021-1-8

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.