MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / asHex

Method asHex

java/src/org/openqa/selenium/support/Color.java:86–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

84 }
85
86 public String asHex() {
87 return String.format("#%02x%02x%02x", red, green, blue);
88 }
89
90 /**
91 * @return a java.awt.Color class instance

Callers 2

hexToHexMethod · 0.45
rgbToHexMethod · 0.45

Calls 1

formatMethod · 0.45

Tested by 2

hexToHexMethod · 0.36
rgbToHexMethod · 0.36