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

Method asRgb

javascript/selenium-webdriver/lib/color.js:73–75  ·  view source on GitHub ↗

* @returns {string} e.g. "rgb(255, 0, 0)"

()

Source from the content-addressed store, hash-verified

71 * @returns {string} e.g. "rgb(255, 0, 0)"
72 */
73 asRgb() {
74 return `rgb(${this.red_}, ${this.green_}, ${this.blue_})`
75 }
76
77 /**
78 * @returns {string} e.g. "rgba(255, 0, 0, 1)"

Callers 1

color_test.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected