Interface: IColorConvertModule
Table of contents
Methods
Methods
string
▸ string(color
, opacity?
): string
Parameters
Name | Type |
---|---|
color | IColor |
opacity? | number |
Returns
string
Defined in
ui/packages/interface/src/module/IColorConvert.ts:4
object
▸ object(color
, opacity?
): IRGBA
Parameters
Name | Type |
---|---|
color | IColor |
opacity? | number |