CE
PE

Employment/Purpose

A Colorbox used to retrieve an input that the user can select a color.

Example

<colorbox color="#FFFFFF" />

Key control

since 6.0.0

Pressing left, right, up, or down arrow keys to change the selected color.

Colorbox in Menu

By setting content attribute of `

`to create a colorbox in menu. ![](/zk_component_ref/images/ZKComRef_Colorbox_Examples2.PNG) ```xml ``` # Supported Events | Name | Event Type | |---|---| | onChange | **Event:** [org.zkoss.zk.ui.event.InputEvent](https://www.zkoss.org/javadoc/latest/zk/org/zkoss/zk/ui/event/InputEvent.html) Notifies the application with the onChange event if its content is changed | - Inherited Supported Events: [ XulElement](/zk_component_ref/xulelement#Supported_Events) # Supported Children `*None`