darken: Helper function to darken down a given color.

View source: R/plot.R

darkenR Documentation

Helper function to darken down a given color.

Description

Helper function to darken down a given color.

Usage

darken(color, factor = 0.5)

Arguments

color

Color name or hex code of a color

factor

Multiplicative factor by which 'color' will be darkened down

Value

a character value, hex color code of the darkened color provided


CimpleG documentation built on Dec. 7, 2025, 1:07 a.m.