makeTransparent: Make a color transparent (Taken from an answer on...

View source: R/bayou-plotting.R

makeTransparentR Documentation

Make a color transparent (Taken from an answer on StackOverflow by Nick Sabbe)

Description

Make a color transparent (Taken from an answer on StackOverflow by Nick Sabbe)

Usage

makeTransparent(someColor, alpha = 100)

Arguments

someColor

A color, either a number, string or hexidecimal code

alpha

The alpha transparency. The maxColorValue is set to 255.


uyedaj/bayou documentation built on Jan. 28, 2024, 5:09 a.m.