java - How to convert rgba(92, 184, 92, 1) to the color name? -


I have written the code below which is returning color code such as rgba (92, 184, 92, 1) < / Code>.

  driver.fix element (By.id ("userDetails-active")). GetCssValue ("background color"); System.out.println (Color.fromString ()). ASHX ())   

convert to rgba (92, 184, 92, 1) using the name of the same color?

Not all code codes as human readable names, however, this class is

< P> It maps all existing human readable names, and maps the code to the nearest one. See if it suits your needs


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -