@relu-interactives/spatial-ecs
@relu-interactives/spatial-ecs / index / colorWithAlpha
Function: colorWithAlpha() ​
ts
function colorWithAlpha(color, alpha): string;Defined in: ui/uiStyle.ts:462
#rgb, #rrggbb or #rrggbbaa at an opacity, as rgba().
Parameters ​
| Parameter | Type |
|---|---|
color | string |
alpha | number |
Returns ​
string

