SAP ABAP Data Element VBI_COLOR (Color description)
Hierarchy
SAP_UI (Software Component) User Interface Technology
   CA-UI2-VBZ (Application Component) Visual Business -> please use CA-GTF-VBZ
     VBI_CORE (Package) Visual Business Core Objects
Basic Data
Data Element VBI_COLOR
Short Description Color description  
Data Type
Category of Dictionary Type     Direct Type Entry
Type of Object Referenced     No Information
Domain / Name of Reference Type      
Data Type CHAR   Character String 
Length 21    
Decimal Places 0    
Output Length 21    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short 10 Color 
Medium 15 Color 
Long 20 Color 
Heading 50 Color description 
Documentation

Definition

Color value description in one of the supported color models RGB (Red, Green, Blue), RGBA (Red, Green, Blue, Alpha), HLS (Hue, Lumination, Saturation), or HLSA (Hue, Lumination, Saturation, Alpha).

Use

Using the RGB(A) model you can set a value for each color component and the alpha channel between 0 to 255.

Using the HLS(A) model you can set a value between 0 and 600 for Hue, Lumination, and Saturation. The Hue value can be calculated from the hue value in degree by using the formula hue/360*600. Lumination and saturation have their max. intensity at a value of 300. Lower value fade to black and higher value to white.

Dependencies

Example

White: RGB(255,255,255)
Red: RGB(255,0,0), with 50% transparency: RGBA(255,0,0,128)
Black: RGB(0,0,0)

History
Last changed by/on SAP  20140802 
SAP Release Created in 100