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 -

asp.net mvc - How to attach sql database to a javascript graph -

c# - How to know the number of Threads created and limit the Tasks accordingly -