Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
color
Method · 0.45
rgbToRgb
Method · 0.45
rgbAllowsWhitespace
Method · 0.45
hexToRgb
Method · 0.45
Calls
1
format
Method · 0.45
Tested by
4
color
Method · 0.36
rgbToRgb
Method · 0.36
rgbAllowsWhitespace
Method · 0.36
hexToRgb
Method · 0.36