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

mysql - How to enter php data into a html multiple select box -

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

c++ - Cassandra datastax cpp driver - avoiding unnecessary copies -