colorAdjust: Adjust HSV Color

View source: R/colorAdjust.R

colorAdjustR Documentation

Adjust HSV Color

Description

Modify alpha, hue, saturation and value (HSV) of a color

Usage

colorAdjust(color, alpha = NULL, hue = 0, sat = 0, val = 0)

Arguments

color

Input color. Any format that grDevices::col2rgb() recognizes

alpha

Numeric: Scale alpha by this amount. Future: replace with absolute setting

hue

Float: How much hue to add to color

sat

Float: How much saturation to add to color

val

Float: How much to increase value of color by

Value

Adjusted color

Author(s)

E.D. Gennatas


egenn/rtemis documentation built on Nov. 22, 2024, 4:12 a.m.