MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / rgb

Function rgb

src/utils/color/regex.js:173–177  ·  view source on GitHub ↗

* Regular expression to match rgb colors * @type {RegExp}

()

Source from the content-addressed store, hash-verified

171 * @type {RegExp}
172 */
173 get rgb() {
174 delete this.rgb;
175 this.rgb = new RegExp(`^${RGB}$`);
176 return this.rgb;
177 },
178 /**
179 * Regular expression to match rgba colors
180 * @type {RegExp}

Callers 1

toStringMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected