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

Active Directory Authenticated Proxy Server with Squid or CNTLM -

java - @PluginTarget(Node.class) not registering as neo4j plugin -

python - Calculate STD manually using Groupby Pandas DataFrame -