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

Function getUserColor

web/lib/collaboration/presence.ts:104–106  ·  view source on GitHub ↗
(index: number)

Source from the content-addressed store, hash-verified

102];
103
104export function getUserColor(index: number): string {
105 return USER_COLORS[index % USER_COLORS.length];
106}
107
108export function getInitials(name: string): string {
109 return name

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected