Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

color-shade applies a weight to a Black shading to a color.

Parameter Description
c The starting color
w The weight of the mixing (0: black, 1: c)

Example

Example 1: Make a 75% darker Red

> (color-red (color-shade Red 0.25))
63
Clone this wiki locally