Permalink
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (15 sloc) 382 Bytes

Manipulate the opacity (alpha channel) of a color value.

a-adjust( color, offset )

Parameters

  • color Any valid CSS color value
  • offset The percentage to offset the color opacity

Returns

The modified color value

Examples

/* Reduce color opacity by 10% */
color: a-adjust( rgb(50,50,0) -10 );