col_mix2: Mix colors

Description Usage Arguments Value

Description

Mix two colors in a given proportion.

Usage

1
col_mix2(..., amount = 50)

Arguments

...

color strings, the length of '...' must be 2.

amount

proportion of the first color, from 0 to 100.

Value

Return mixed color.


houyunhuang/tinycolor documentation built on June 6, 2019, 7:43 p.m.