Skip to content

getUserColorWithOpacity

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/apps/web/src/lib/user-colors.ts

Get a CSS color string with opacity for a user

Signature

ts
function getUserColorWithOpacity(userId: string, opacity: number): string

Parameters

NameType
userIdstring
opacitynumber

Returns: string

Was this page helpful?

Download as PDF