lighten_color: A function lightens a given color

View source: R/lighten_color_function.R

lighten_colorR Documentation

A function lightens a given color

Description

This function lightens a given color. It basically mixes a given color with white.

Usage

lighten_color(alpha, color)

Arguments

alpha

value between 0 and 1 where 0 is white and 1 is 100% the chosen color.

color

The color to be lightened


RodolfoPelinson/AtlanticForestMetacommunity documentation built on Aug. 5, 2023, 3:53 p.m.