MCPcopy Create free account
hub / github.com/codeaashu/claude-code / rgb

Function rgb

src/native-ts/color-diff/index.ts:84–86  ·  view source on GitHub ↗
(r: number, g: number, b: number)

Source from the content-addressed store, hash-verified

82const UNDIM = '\x1b[22m'
83
84function rgb(r: number, g: number, b: number): Color {
85 return { r, g, b, a: 255 }
86}
87
88function ansiIdx(index: number): Color {
89 return { r: index, g: 0, b: 0, a: 0 }

Callers 2

index.tsFile · 0.70
buildThemeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected