Skip to content

Interface: IColorConvertModule

Table of contents

Methods

Methods

string

string(color, opacity?): string

Parameters

NameType
colorIColor
opacity?number

Returns

string

Defined in

ui/packages/interface/src/module/IColorConvert.ts:4


object

object(color, opacity?): IRGBA

Parameters

NameType
colorIColor
opacity?number

Returns

IRGBA

Defined in

ui/packages/interface/src/module/IColorConvert.ts:5

Released under the MIT License.