Kind: Function
Source: atloria-monorepo/apps/web/src/lib/user-colors.ts
Get an RGB representation of a user color Useful for creating variations (e.g., with different opacity)
Signature
tsfunction getUserColorRGB(userId: string): { r: number; g: number; b: number }
Parameters
| Name | Type |
|---|---|
userId | string |
Returns: { r: number; g: number; b: number }
Was this page helpful?