col_flatten_alpha: Flatten alpha transparency onto a background color

col_flatten_alphaR Documentation

Flatten alpha transparency onto a background color

Description

Flatten alpha transparency onto a background color

Usage

col_flatten_alpha(color, alpha = 1, bg = "white")

Arguments

color

Color value. String or Hex.

alpha

Alpha. Value from 0 to 1.

bg

Background color to flatten transparency onto. Default = "white".


adamleejohnson/R-ajtools documentation built on April 4, 2022, 7:24 a.m.