aitoa.rgb.mix: Mix Two RGB Colors

Description Usage Arguments Value

View source: R/rgb_mix.R

Description

Mix two RGB colors

Usage

1
2
3
4
5
6
7
aitoa.rgb.mix(
  color.1,
  color.2,
  weight = 0.5,
  limit = 255L,
  make.int = (limit > 1L)
)

Arguments

color.1

the first r-g-b vector

color.2

the second r-g-b vector

weight

the weight of the first color vector

limit

the color limit

make.int

should we convert the result to an integer?

Value

the mixed color


thomasWeise/aitoaEvaluate documentation built on Dec. 6, 2020, 1:22 p.m.