Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Zearin edited this page Jul 24, 2011 · 1 revision

LESS.js has some pretty cool functions you can use in your styles.

Generating colours

rgb(r, g, b)
rgba(r, g, b, a)
hsl(h, s, l)
hsla(h, s, l, a)

Modifying colours

saturate(color, amount)
desaturate(color, amount)
lighten(color, amount)
darken(color, amount)
greyscale(color, amount)
Clone this wiki locally