Color.toHexString()

Returns the hexadecimal string representation of a color.
译:返回一个颜色的十六进制值。

Arguments(参数)

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

blue = new Color("blue")
print blue.toHexString() # "#0000ff"

results matching ""

    No results matching ""