color_invertRGB: Invert Color in RGB space

View source: R/colorOps.R

color_invertRGBR Documentation

Invert Color in RGB space

Description

Invert Color in RGB space

Usage

color_invertRGB(x)

Arguments

x

Color, vector

Value

Inverted colors using hexadecimal notation #RRGGBBAA

Author(s)

E.D. Gennatas

Examples

## Not run: 
cols <- c("red", "green", "blue")
previewcolor(cols)
cols |>
  color_invertRGB() |>
  previewcolor()

## End(Not run)

egenn/rtemis documentation built on Oct. 28, 2024, 6:30 a.m.