Color

The color group defines the color index palette.

Color example

 [COLOR]
						 
						!          R    G    B
						 
						!         ---  ---  ---
						 
						color0  =   1,   1,   1      Black*
						 
						color1  = 254,   0,   0      Red*
						 
						color2  =   0, 129,   0      Dark green*
						 
						color3  = 254, 254,   0      Yellow*
						 
						color4  =   0,   0, 254      Blue*
						 
						color5  = 254,   0, 254      Magenta*
						 
						color6  =   0, 254, 254      Cyan*
						 
						color7  = 193, 193, 193      Light grey*
						 
						!----------------------
						 
						color8  = 129, 129, 129      Medium grey*
						 
						color9  =   0,   0, 129      Dark blue*
						 
						color10 = 129,   0,   0      Dark red*
						 
						color11 = 129,   0, 129      Dark magenta*
						 
						color12 =   0, 254,   0      Green*
						 
						color13 =   0, 129, 129      Dark cyan*
						 
						color14 = 129, 129,   0      Dark yellow*
						 
						color15 = 254, 254, 254      White*
						 
						!----------------------
						 
						color16 = 250, 250, 250      2% grey
						 
						color17 = 242, 242, 242      5% grey
						 
						color18 = 224, 224, 224      12% grey
						 
						color19 = 184, 184, 184      28% grey
						 
						color20 = 160, 160, 160      Light grey*
						 
						color21 = 119, 119, 119      53% grey
						 
						color22 =  96,  96,  96      62% grey
						 
						color23 =  77,  77,  77      70% grey
						 
						.
						 
						.
						 
						.
						 
						color74 = 255, 204, 255
						 
						color75 = 249, 108, 181
						 
						color76 = 255,  79, 121
						 
						color77 = 215,   0,   0
						 
						color78 = 185,  56,   0
						 
						color79 = 114,  75,   0
						 
						!----------------------
						 
						#if truecolor
						 
						   color80 =  90,  90, 165
						 
						#else
						 
						   color80 =   0,   0, 129
						 
						#endif
						 
						
						 
						listbox_background_color_index  = 15
						 
						
						 
						#if truecolor
						 
						   listbox_selection_color_index   = 47
						 
						
						 
						   threshold_value1 = 0
						 
						   threshold_color_index1 = 52
						 
						   threshold_value2 = 100
						 
						   threshold_color_index2 = 75
						 
						#else
						 
						   listbox_selection_color_index   = 50
						 
						
						 
						   threshold_value1 = 0
						 
						   threshold_color_index1 = 50
						 
						   threshold_value2 = 100
						 
						   threshold_color_index2 = 75
						 
						#endif
						 
						
						 
						procentagebar_text_color_index = 22
						 
						
						 
						color<index>  =   <Red value>, <Green
						  value>, <Blue value>
						

A color index is used to refer to a specific color. Color indexes 0 to 15 are mapped to hardware colors. Color index 0 should always be black, index 7 pale gray (background color) and index 15 should be white.

Color indexes 0 to 79 can be used for coloring.

Indexes 80 to 99 are reserved for special purposes - currently only index 80 is used to handle a color problem at 256 colors. The background bitmap color that is used in the main menu is a palette color, which the text label control can not use at 256 colors.

Indexes 100 to 199 are system colors that are used for defaults.

Color selection dialog (#674) in MAPP The panel definition in PMGENE__.SKM
Color
#674;1;-1;-2;-3;01;00;79;
						 
						@@28;SW1P0;5;23;100;12;120;;
						 
						@@24;04;2;00;?0;"Farve_0";4;;L07T;;;~1;00;F0;
						 
						@@24;05;2;01;?0;"Farve_1";4;;L07T;;;~1;01;F0;
						 
						@@24;06;2;02;?0;"Farve_2";4;;L07T;;;~1;02;F0;
						 . 
						.
						 
						.
						 
						@@24;81;2;77;?0;"Farve_77";4;;L07T;;;~1;77;F0;
						 
						@@24;82;2;78;?0;"Farve_78";4;;L07T;;;~1;78;F0;
						 
						@@24;83;2;79;?0;"Farve_79";4;;L07T;;;~1;79;F0;
						 
						@@29;Line;1;7;;;EHSh;0;
						 
						@@24;Luk;1;7;?0;"Luk";;3;SL02TF3;.ICO=13;CN;T;F3;
						 
						@@24;Hjælp;1;7;?0;"Hjælp";2;3;SL02TH;.ICO=71;LM;
						 
						@@13;*1;50;*2;2;*3;150;*4;2;*5;30;*6;0;T;
						 
						$Luk&_$Hjælp_&
						 
						$Line&
						 
						~1_&~1_&~1_&~1_&~1_&~1_&~1_&~1_&
						  
						 
						~1_&~1_&~1_&~1_&~1_&~1_&~1_&~1_&
						  
						 
						~1_&~1_&~1_&~1_&~1_&~1_&~1_&~1_&
						  
						 
						~1_&~1_&~1_&~1_&~1_&~1_&~1_&~1_&
						  
						 
						~1_&~1_&~1_&~1_&~1_&~1_&~1_&~1_&
						  
						 
						~1_&~1_&~1_&~1_&~1_&~1_&~1_&~1_&
						  
						 
						~1_&~1_&~1_&~1_&~1_&~1_&~1_&~1_&
						  
						 
						~1_&~1_&~1_&~1_&~1_&~1_&~1_&~1_&
						  
						 
						~1_&~1_&~1_&~1_&~1_&~1_&~1_&~1_&
						  
						 
						~1_&~1_&~1_&~1_&~1_&~1_&~1_&~1_&
						  
						 
						
						

List box_background_color_index = <color index>

List box_selection_color_index = <color index>

List box_background_color_index sets the default background color index of the listbox. If a specific color index is not defined on the listbox, this color index is used.

List box_selection_color_index set the default selection color index of the listbox. If a specific color index is not defined on the listbox, this color index is used.

threshold_value1 = <integer threshold value>

threshold_color_index1 = <color index>

Threshold_value1 to threshold_value15 defines the threshold value used to select the color that is used the percent bar in the list box. If the value is less or equals the threshold_value1, then threshold_color_index1 is used as color.

procentagebar_text_color_index = <color index>

Procentage bar_text_color_index sets the color of the text in the percentage bar.