color shade - part-cw/lambdanative GitHub Wiki

(color-shade c w)

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