selenium2 颜色支持
class selenium.webdriver.support.color.Color(red,green,blue,alpha=1)
颜色变换支持类:
from selenium.webdriver.support.color import Color
print(Color.from_string('#00fff33').rgba)
print(Color.from_string('rgb(1,255,3)').hex)
print(Color.from_string('blue').rgba)
static from_string(str)
hex
rgb
rgba