我有這樣的代碼(在硒IDE): storeEval | window.document.defaultView.getComputedStyle(window.document.getElementsByTagName('input')[0]).getPropertyValue('background-color') | result
如何顏色從(RRR GGG BBB)通過轉換爲RRGGBB的JavaScript
它返回我的色彩在(rrr, ggg, bbb)
,我怎麼能得到這個顏色RRGGBB
?
這裏是如何做到在Javascript轉換HTTP:/ /stackoverflow.com/q/57803/1399920 – n00begon