MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / rgb

Function rgb

packages/cli/src/ui/banner.ts:27–29  ·  view source on GitHub ↗
(r: number, g: number, b: number, text: string)

Source from the content-addressed store, hash-verified

25}
26
27function rgb(r: number, g: number, b: number, text: string): string {
28 return `\x1b[38;2;${r};${g};${b}m${text}\x1b[0m`;
29}
30
31// ---------------------------------------------------------------------------
32// Box-drawing block art (figlet "ANSI Shadow" style)

Callers 1

printBannerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected