colorSaturation: Change the saturation of a color

View source: R/layout.R

colorSaturationR Documentation

Change the saturation of a color

Description

Converts the input color to HSV space, then multiplies the saturation by the saturation multiplier.

Usage

colorSaturation(col = "#41ffc9", sat.mult = 1.25)

Arguments

col

Color

sat.mult

Multiply saturation with this number

Value

The input color with the saturation multiplied.


thartbm/handlocs documentation built on Feb. 18, 2025, 10:53 p.m.