The invert function

The invert function is very similar to complement, and the two can be used interchangeably in many practical situations. However, be aware there is a subtle difference; invert provides the inverted red, green, and blue values of a color, leaving opacity as it is.

Get Sass and Compass for Designers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.