Kind: Function
Source: atloria-monorepo/apps/web/src/lib/user-colors.ts
Generate a consistent color for a user based on their userId The same userId will always return the same color
Signature
tsfunction generateUserColor(userId: string): string
Parameters
| Name | Type |
|---|---|
userId | string |
Returns: string
Was this page helpful?