Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/SeleniumHQ/selenium
/ toHex
Method
toHex
javascript/selenium-webdriver/lib/color.js:96–96 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
94
*/
95
asHex() {
96
const
toHex = (n) => n.toString(16).padStart(2,
'0'
)
97
return
`#${toHex(this.red_)}${toHex(this.green_)}${toHex(this.blue_)}`
98
}
99
Callers
4
tinymce.min.js
File · 0.80
t
Function · 0.80
S
Function · 0.80
l
Function · 0.80
Calls
1
toString
Method · 0.65
Tested by
no test coverage detected