Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 382 Bytes

a-adjust.md

File metadata and controls

26 lines (15 loc) · 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 );