Read more

Manipulate color with Sass functions

Henning Koch
June 15, 2011Software engineer at makandra GmbH

Sass comes with many built-in functions to manipulate color Show snapshot . Some of the more interesting functions include:

Illustration web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
Read more Show snapshot

adjust-hue($color, $degrees)
Changes the hue of a color.

lighten($color, $amount)
Makes a color lighter.

darken($color, $amount)
Makes a color darker.

saturate($color, $amount)
Makes a color more saturated.

desaturate($color, $amount)
Makes a color less saturated.

Converts a color to grayscale.

Returns the complement of a color.

Returns the inverse of a color.

Posted by Henning Koch to makandra dev (2011-06-15 15:22)