color_sum: Mix two colors additively in RGB space

View source: R/mixing.R

color_sumR Documentation

Mix two colors additively in RGB space

Description

Mix two colors additively in RGB space

Usage

color_sum(col1, col2)

Arguments

col1

A hex or R color

col2

Another hex or R color

Value

The sum of col1 and col2 as a character hex color (e.g. "#FFFFFF")

Examples

color_sum("red","green")

color_sum("#1B9E77","#D95F02")

hypercompetent/colorway documentation built on April 2, 2024, 1:44 a.m.