Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Solid Brush - Color Property

Panel
bgColor#2c3c4c

RGB color value or a LANSA specified color name

Member of Solid Brush (PRIM_VS.SolidBrush)

Data Type - Color

Details

The Color property defines the color of the brush.

Colors can be a specific RGB value e.g. 255:0:0 for Red, the name of a specific color e.g. Red, or one of a selection of abstract Theme related shades e.g. Theme100, Theme500 etc.

When brush colors are being used for a MaskBrush, the color property is evaluated as either Transparent or Opaque, regardless of the color specified.

Theme Color Names

Theme color names represent a set of predefined complementary shades. There are many predefined Themes.

Allowed Values

Description

Enum Values

Colors

Theme50, Theme100, Theme200, Theme300, Theme400, Theme500, Theme600, Theme700, Theme800, Theme900, ThemeDisabled, ThemeInactive

Accent Colors

ThemeA100, ThemeA200, Theme400, ThemeA700

Allowed Colors

Enum Value

Sample

Description

Aqua

Panel
 
bgColor#00FFFF


RGB - 0:255:255

Black

Panel
bgColor
 
#000000


RGB - 0:0:0

Blue

 
Panel
bgColor#0000FF


RGB - 0:0:255

Brown

Panel
 
bgColor#804000


RGB - 128:64:0

Gray

Panel
bgColor
 
#808080


RGB - 128:128:128

Green

 
Panel
bgColor#008000


RGB - 0:128:0

Fuchsia

 
Panel
bgColor#FF00FF


RGB - 255:0:255

Lime

Panel
 
bgColor#00FF00


RGB - 0:255:0

Maroon

Panel
bgColor
 
#800000


RGB - 128:0:0

Navy

Panel
bgColor
 
#000080


RGB - 0:0:128

Olive

 
Panel
bgColor#808000


RGB - 128:128:0

Purple

 
Panel
bgColor#800080


RGB - 128:0:128

Red

Panel
bgColor
 
#FF0000


RGB - 255:0:0

Silver

 
Panel
bgColor#C0C0C0


RGB - 192:192:192

Teal

Panel
bgColor
 
#008080


RGB - 0:128:128

Transparent

 



White

 
Panel
White
bgColor
 
#FFFFFF


RGB - 255:255:255

Yellow

 
Panel
bgColor#FFFF00


RGB - 255:255:0

RGB Colors

...

...

RGB

...

colors

...

should

...

be

...

entered

...

in

...

the

...

format

...

[0-255

...

]:

...

[0-255

...

]:

...

[0-255

...

]


See also

All Component Classes

Technical Reference