MCPcopy Index your code
hub / github.com/codeaashu/claude-code / toColorRGB

Method toColorRGB

src/server/web/public/terminal.js:3705–3707  ·  view source on GitHub ↗
(e3)

Source from the content-addressed store, hash-verified

3703 this.fg = 0, this.bg = 0, this.extended = new s2();
3704 }
3705 static toColorRGB(e3) {
3706 return [e3 >>> 16 & 255, e3 >>> 8 & 255, 255 & e3];
3707 }
3708 static fromColorRGB(e3) {
3709 return (255 & e3[0]) << 16 | (255 & e3[1]) << 8 | 255 & e3[2];
3710 }

Callers 5

_handleColorEventMethod · 0.80
createRowMethod · 0.80
_getBackgroundColorMethod · 0.80
_getForegroundColorMethod · 0.80
_drawToCacheMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected