chroma.js icon indicating copy to clipboard operation
chroma.js copied to clipboard

Add color.tint and color.shade operations

Open tremby opened this issue 4 years ago • 0 comments

These produce tints and shades of the color, i.e. mix with either white or black at a given ratio.

See https://en.wikipedia.org/wiki/Tints_and_shades

Closes #235

This changeset also adds some missing documentation for color.mix.

tremby avatar Oct 19 '20 00:10 tremby