CCH4CLIPPER wrote:Hi All
From hmg_help.chc
[ BACKCOLOR <anBackColor> ]
What are the valid values of anBackColor ?
Say, I wan the
color TEAL, what would be the value ?
CCH
http://cch4clipper.blogspot.com
Hi CCH
<anBackColor> is a array with three numeric values in range 0-255 ( RGB
Color values )
You may use some predefined
color constants ( please see C:\hmg\INCLUDE\i_color.ch ) and of course you may define your own
color constant same way. f.e.
Code: Select all
#define ALICEBLUE { 240, 248, 255 }
#define ANTICWHITE { 250, 265, 215 }
#define AQUA { 0, 128, 0 }
#define AZURE { 240, 255, 255 }
#define BEIGE { 245, 245, 220 }
#define BISQUE { 255, 228, 196 }
#define BLANCH { 255, 235, 205 }
#define BLUEVIOLET { 138, 43, 226 }
#define BURLYWOOD { 222, 184, 87 }
#define BROWN_2 { 165, 42, 42 }
#define CADETBLUE { 95, 158, 160 }
#define CORNBLEU { 100, 149, 237 }
#define CORNSILK { 255, 248, 220 }
#define CYAN { 0, 255, 255 }
#define CYANBUNE { 190, 210, 230 }
#define DARKBLUE { 0, 0, 139 }
#define DARKCYAN { 0, 139, 139 }
#define DARKKHAKI { 189, 183, 107 }
#define DARKGRAY { 169, 169, 169 }
#define DARKGREEN { 0, 100, 0 }
#define DARKRED { 139, 0, 0 }
#define GREEN_2 { 0, 128, 0 }
#define KHAKI { 240, 230, 140 }
#define LIME { 0, 255, 0 } // GREEN
#define MAROON { 128, 0, 0 }
#define NAVY { 0, 0, 128 }
#define OLIVE { 128, 128, 0 }
#define ORANGE { 255, 165, 0 }
#define SILVER { 192, 192, 192 }
#define TEAL { 0, 128, 128 }
#define TURQUOISE { 64, 224, 208 }
You may found RGB
Color values and its combinations anywhere in the Internet.
As an example, you may get information / utilize by attached sample. ( It's available also at
http://vivaclipper.googlepages.com/ColorCodes.zip )
Regards
--
esgici