Sass Color Functions

NOTE

In October 2019, Sass introduced its new modules system with Build-In Modulesopen in new window, which will eventually replace the older global functions. While we will continue to use the global function for now, it important to note that the Sass team has started discouraging their use and will be deprecating them in the near future.

Sass includes several global color functionsopen in new window which will allow you to alter colors. These functions include rgba(), lighten(), darken(), and complement() and can be used any color value.