ColorPicker

The ColorPicker can be used to select a color from various color palettes.

ColorPicker 1:

Use

Can be used on any page where it is necessary to select a color.

Features

Color selection can be done using different color spaces.

HSL Ring

All colors are selected without shading.

ColorPicker 2:

HSV Circle

Selection of all colors up to white.

ColorPicker 3:

HSL Rect All color

Selection of all colors up to black.

ColorPicker 4:

HSL Rect single

Selection of all shades of a color. To change the color, change the attribute BackgroundColor.

ColorPicker 5:

Attributes

The control inherits from TcHmiControl and thus has the same attributes. In addition, there are the following attributes.

ColorPlateType

tchmi:framework#/definitions/TcHmi.BuildingAutomation.Controls.ColorPlateType

Defines the color palette used.

BackgroundColor

tchmi:framework#/definitions/SolidColor

Determines the background color when the HslRect1 color palette is selected.

SelectedSolidColor (read-only)

tchmi:framework#/definitions/SolidColor

Selected color.

SelectedRgbaColor (read-only)

tchmi:framework#/definitions/TcHmi.BuildingAutomation.RGBAColor

Selected color in RGBA format.

Events

Event

Description

onSelectedColorChanged

Triggered when the selected color has changed.