color_mean: Average colors

View source: R/colorOps.R

color_meanR Documentation

Average colors

Description

Average colors

Usage

color_mean(x, space = c("RGB", "HSV"))

Arguments

x

Color vector

space

Character: RGB or HSV; space to average in

Author(s)

E.D. Gennatas

Examples

## Not run: 
color_mean(c("red", "blue")) |> previewcolor()
color_mean(c("red", "blue"), "HSV") |> previewcolor()

## End(Not run)

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