fade_cols: Fade colors by appending a reduced alpha value

View source: R/visped_style.R

fade_colsR Documentation

Fade colors by appending a reduced alpha value

Description

Converts any R color specification to '#RRGGBB4D' form. Handles hex colors ('#RRGGBB', '#RRGGBBAA') and named colors (e.g. '"red"').

Usage

fade_cols(x)

Arguments

x

Character vector of colors.

Value

Character vector of faded hex colors.


visPedigree documentation built on March 30, 2026, 9:07 a.m.