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

Method hexA

src/utils/color/hex.js:48–48  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46
47 const hex = () => `#${r}${g}${b}`.toUpperCase();
48 const hexA = () => `#${r}${g}${b}${a}`.toUpperCase();
49
50 if (alpha === undefined) {
51 return this.a === 255 ? hex() : hexA();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected