add_transparency: Add transparency to colors

Description Usage Arguments Value Examples

Description

Add transparency to colors

Usage

1
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

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

jokergoo/circlize documentation built on Aug. 11, 2019, 11:01 a.m.