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.

Value

A character vector of colors in hexadecimal format with the specified transparency applied.


bayou documentation built on June 10, 2025, 5:13 p.m.