Color editor

From RAD Studio
Jump to: navigation, search

Go Up to Property Editors Index

Use the Color editor to specify or define a color for the selected component. Changes you make using the Color editor are reflected in the Color property for a component.

To open the Color editor:

  1. Select any component or the form.
  2. Double-click the Value column for the Color property or one of the other properties that use the Color editor.
Property Description
Basic colors grid Displays selection of standard colors. Click a color to apply it to the selected component.
Custom colors grid Displays the colors that you have created. You can create custom colors by clicking Define Custom Colors.
Define Custom Colors Click Define Custom Colors to expand the Color editor to show options that enable you to create your own colors.
Color field Displays the spectrum of available colors. The crosshairs indicate the current color.

Click anywhere or drag in the color field to select a color. When you select a color here and then click Add To Custom Colors, the selected color is added to one of the Custom Color boxes so you can use it again.

Solid Displays the currently selected color and its closest solid color. Double-click the solid color to make it the current color.
Hue Enter a value for the hue. Hue is the "actual" color, for example, red, yellow-green, or purple. Hue refers to the color without regard to saturation or brightness (luminosity).
Sat(uration) Enter a value for the saturation. Saturation refers to how much gray is in the color. The Sat(uration) field shows the saturation from 0 (medium gray) to 240 (pure color).

Note: Saturation affects how clear the color is. Luminosity affects how bright the color is.

Lum(inosity) and the Slider Control Enter a value for the luminosity, or drag the pointer on the slider to set the luminosity. Luminosity is the brightness of a color. The Lum(inosity) field shows the luminosity from 0 (black) to 240 (white). The column to the right of the color field shows the range of luminosity for the current color. Slide the arrow to the right of the column up or down to adjust the luminosity. When you change the luminosity, the Red/Green/Blue color values also change accordingly.
Red/Green/Blue Enter values for the proportion of red, green, and blue you want in your color. The values in these fields show the balance of red, green, and blue in the current color. This is sometimes called the RGB color. The range of available values for an RGB color is 0 to 255.
Add To Custom Colors Click to add the color you have defined to the Custom Color grid on the Color editor.