<dy-color-picker>

A color selection component that provides a user-friendly interface for choosing colors. It supports both RGB and alpha channel selection, and includes an eyedropper tool for picking colors from the screen when available.

<dy-color-picker> Example

<dy-color-picker> API

Shadow DOM; Extends GemElement

Instance Properties

Property(Attribute) Reactive Type
value(value) Yes HexColor
alpha(alpha) Yes boolean
disabled(disabled) Yes boolean
change Emitter<HexColor>

Instance Methods

Method Type
showPicker () => void

Other

Type Value
Event change

<dy-color-panel> Example

<dy-color-panel> API

Shadow DOM; Extends GemElement

Instance Properties

Property(Attribute) Reactive Type
value(value) Yes HexColor
alpha(alpha) Yes boolean
change Emitter<HexColor>

Other

Type Value
Event change