MCPcopy
hub / github.com/yousifamanuel/terraink / parseHexColor

Function parseHexColor

src/shared/utils/color.ts:87–89  ·  view source on GitHub ↗
(color: string)

Source from the content-addressed store, hash-verified

85
86/** Alias kept for backward compatibility in UI code */
87export function parseHexColor(color: string): RGB | null {
88 return parseHex(normalizeHexColor(color) || color);
89}
90
91export function hexToRgb(
92 color: string,

Callers

nothing calls this directly

Calls 2

parseHexFunction · 0.85
normalizeHexColorFunction · 0.85

Tested by

no test coverage detected