Block UI Styler > Block Catalog > Basic
RGB Color Picker
The RGB Color Picker block provides a control to input an RGB color. It is used for the graphics window's background colors and supports all RGB colors (unlike the Object Color Picker, which supports only the fixed 216-color NX palette).
Inherited general properties
- BlockID
- Enable
- Group
- Label
- Show
- Expanded
Block-specific properties
| Property Name | Description | Access | Property Type | List of Values |
|---|---|---|---|---|
| BalloonTooltipText | Specifies text for the balloon tooltip. | CIGS | String | Any string value. Type \n for a line feed. |
| BalloonTooltipImage | Specifies the file name of the image displayed in the balloon tooltip. | CIGS | String | Valid bitmap file name from the NX library (no suffix/extension needed), or complete path. Supports TIFF, PNG, GIF, JPEG, BMP. |
| BalloonTooltipLayout | Specifies the location of text with respect to the image in the balloon tooltip. Applicable only when both text and image are specified. | CIGS | Enum | Horizontal — default; text to the right of image. Vertical — text below image; use when image is >300px wide or width:height ratio > 4. |
| Localize | Allows localization of the block Label if it matches an English string in the NX localization database. | CIG | Logical | TRUE — translate to current locale. FALSE — do not translate. |
| RetainValue | Specifies if the block's value will be saved in dialog memory (upon OK, Apply, or Close). | CSG | Logical | TRUE — retains the previous value. FALSE — does not retain the previous value. |
| Value | Specifies the RGB color as three bytes (Byte for red, byte for green, byte for blue). For example, hexadecimal FF7F00 is orange. |
CSG | Integer | Any value between 0 and hexadecimal FFFFFF. |
Access column legend
| Character | Stands for | Meaning |
|---|---|---|
| C | Creation | Modifiable interactively in Block UI Styler at design time. |
| I | Initialize | Modifiable at run time via NXOpen API, but only during the Initialize callback. |
| G | Get | Readable via NXOpen API in any callback. |
| S | Set | Modifiable at run time via NXOpen API in any callback. |
Related Basic blocks
Action Button, Drawing Area, Enumeration, Label/Bitmap, Multi-Line String, Object Color Picker, Separator, String, Toggle, List Box.
Source: https://docs.sw.siemens.com/en-US/doc/209349590/PL20220512394070742.blockstyler/rgb_color_picker · retrieved 2026-07-07