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

Method asRgb

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

Source from the content-addressed store, hash-verified

68 }
69
70 public String asRgb() {
71 return String.format("rgb(%d, %d, %d)", red, green, blue);
72 }
73
74 public String asRgba() {
75 String alphaString;

Callers 4

colorMethod · 0.45
rgbToRgbMethod · 0.45
rgbAllowsWhitespaceMethod · 0.45
hexToRgbMethod · 0.45

Calls 1

formatMethod · 0.45

Tested by 4

colorMethod · 0.36
rgbToRgbMethod · 0.36
rgbAllowsWhitespaceMethod · 0.36
hexToRgbMethod · 0.36