ColorPicker
The ColorPicker can be used to select a color from various color palettes.
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.
HSV Circle
Selection of all colors up to white.
HSL Rect All color
Selection of all colors up to black.
HSL Rect single
Selection of all shades of a color. To change the color, change the attribute BackgroundColor.
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. |