colorMix: Mix two colors

View source: R/layout.R

colorMixR Documentation

Mix two colors

Description

Mixes two colors in RGB space using weights

Usage

colorMix(a = "#41ffc9", b = "#1d7791", balance = c(1, 1))

Arguments

a

First color

b

Second color

balance

Numeric vector of length 2, Weights of the two colors

Value

A weighted average of the two colors in RGB space


thartbm/handlocs documentation built on Feb. 18, 2025, 10:53 p.m.