title: How to convert rgba(92, 184, 92, 1) to the color name?
body: <p>I have written the below code which is returning the color code like <code>rgba(92, 184, 92, 1)</code>.</p>
  
  <pre><code>driver.findElement(By.id("userDetails-active")).getCssValue("background-color");
  
  System.out.println(Color.fromString(s).asHex())
  </code></pre>
  
  <p>How to convert <code>rgba(92, 184, 92, 1)</code> to the corresponding color name using Java?</p>