2014-02-06 35 views

回答

1

我希望他们是基于RGB值。

我做了搜索:http://en.wikipedia.org/wiki/HSL_and_HSV

HSL和HSV是点的RGB颜色模型中的两种最常见的圆柱坐标表示。

@h: hue(#167e8a); 
@s: saturation(#167e8a); 
@l: lightness(#167e8a); 

.foo{ 
    color: hsl(@h,@s,@l); 
}