Convert rgb strings to hex in Javascript. I would at first cut away the CSS parts: var a = "rgb(255,255,255)".split("(")[1].split(")")[0];.
確定! 回上一頁