Color.toRgbString()

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

Arguments

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

blue = new Color("blue")
print blue.toRgbString() # "rgb(0, 0, 255)"

results matching ""

    No results matching ""