Color.toHslString()

Returns the HSL string representation of a color.
译:返回一个颜色的HSL值。

Arguments(参数)

value — An object or string, representing a color
译:值 - 颜色对象或颜色字符串。

blue = new Color("blue")
print blue.toHslString() # "hsl(240, 100%, 50%)"

results matching ""

    No results matching ""