mixColors: Returns the average color from a vector of colors

View source: R/other_functions.R

mixColorsR Documentation

Returns the average color from a vector of colors

Description

Returns the average color from a vector of colors

Usage

mixColors(colorVector, scaleFactor = 2, weights = NULL)

Arguments

colorVector

a vector of colors (hex or color names are all okay)

scaleFactor

How to scale. Typically should be left at 2

return_type

How to weight each color in the vector

Value

A hex color character


AllenInstitute/L5_VEN documentation built on July 31, 2022, 6:32 p.m.