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 archive.org snapshot . Some of the more interesting functions include:

Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org 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.

grayscale($color)
Converts a color to grayscale.

complement($color)
Returns the complement of a color.

invert($color)
Returns the inverse of a color.

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