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 Dec. 17, 2024, 6:16 p.m.