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

color-fade applies transparency to a color

Parameter Description
c The starting color
f The weight of the fading (0: transparent, 1: opaque)

Example

Example 1: Make a semi-transparent Red color and check its transparency

> (color-alpha (color-fade Red 0.5))
127
Clone this wiki locally