# GraffitiColorPicker
Class Inherits GraffitiWebUIControl
## About
GraffitiColorPicker is an advanced color selector class for Xojo that allows your users to pick exactly the color they need, whether that be by name, selection with the mouse, or directly entering a value. This cross-platform picker also ensures that, no matter which platform your app is on, the experience is always the same.
## Compatibility
### Framework API Version
| 1.0 | 2.0 |
| :---: | :---: |
| True | True |
### Web
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
## Enumerations
| Name | Value | Description |
| --- | :---: | --- |
| DropdownPositions | BottomLeft <br > BottomRight <br > TopLeft <br > TopRight | Supported dropdown positions relative to base control. |
| SelectorTypes | Hue <br > Brightness <br > Saturation <br > Wheel | Supported color selection models. |
## Event Definitions
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Open | (None) | (None) | (None) |
| Shown | (None) | (None) | (None) |
| ValueChange | (None) | (None) | This event is fired when the color value has changed. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| ColorValue | Color | (None) | Returns the value of the ColorPicker as a Color object. |
| DropdownPosition | DropdownPositions | (None) | Location of the picker relative to the control. |
| Enabled | Boolean | (None) | (None) |
| HexValue | String | (None) | Returns the value of the ColorPicker in HTML HEX8 format ( IE : #FFFFFF00). |
| Inline | Boolean | (None) | If True, the colorpicker will be displayed inline, as opposed to showing a small control with the value that the user clicks on to pop up the selector. |
| SelectorType | SelectorTypes | (None) | The selection mode used, either inline or for the popup. |
| ShowOpacity | Boolean | (None) | Whether the use should be able to select the opacity of the color value. |