adjcolors: Convert a color with arbitrary transparency to a fixed color

View source: R/utils.R

adjcolorsR Documentation

Convert a color with arbitrary transparency to a fixed color

Description

This function takes a vector of colors and an alpha level and converts the colors to fixed colors with the specified alpha level.

Usage

adjcolors(colors, alpha)

Arguments

colors

Color vectors.

alpha

Alpha level ranging from 0 to 1.

Value

The colors with the specified alpha level.


plotthis documentation built on April 11, 2025, 5:45 p.m.