67% found this document useful (6 votes)
7K views

Color Code Foxpro

1. The document describes color codes that can be used in FoxPro to set text and background colors. 2. It provides two methods for setting colors - using text codes like R/G or RGB number values. 3. Common color codes are listed along with their equivalent RGB number values.

Uploaded by

Jessica Martinez
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
67% found this document useful (6 votes)
7K views

Color Code Foxpro

1. The document describes color codes that can be used in FoxPro to set text and background colors. 2. It provides two methods for setting colors - using text codes like R/G or RGB number values. 3. Common color codes are listed along with their equivalent RGB number values.

Uploaded by

Jessica Martinez
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

set color code command----------------foxpro----------------------------

color and codes


---------------
B--- blue N---BLACK G--- GREEN W--- WHI
TE N+--- GREY
BG--- CRAY GR--- BROWN R-- RED RB-- MAG
ENTA GR+--YELLOW
I-INVERSE BG-- CYAN X-- BLANK
// METHOD 1:----
SYNTAX:- SET COLOR TO<TEXT COLOR CODE>/<BACK COLOR CODE>--->ENTER----> TYPE CLEA
R----> ENTER
EX:- SET COLOR TO R/G -->ENTER -->TYPE CLEAR -->ENTER // WILL GIVE TEXT IN
RED AND BACKGROUND COLOR OF THE EDITOR AS GREEN
"*"STAR PLACED IMMEDIATELY AFTER A COLOR CODE CAN BE USED TO DENOTE BLINKING OR
BRIGHT COLOR
"+"PLUS PLACED IMMEDIATELY AFTER A COLOR CODE CAN BE USED TO DENOTE HIGH INTENSI
TY FOR THE FOREGROUND COLOR
//METHOD 2:----
SYNTAX:- SET COLOR TO RGB(255,0,0,64,64,64)--->ENTER //NUMBERS IN BRACKETS DE
NOTES COLOR CODE NUMBER
CLEAR --->ENTER
COLOR COLOR CODE COLOR CODE NO:
----- ---------- --------------
WHITE W+ 255,255,255
BLACK N 0,0,0
DARK GREY N+ 64,64,64(25% GRE
Y)
GREY W 192,192,192
RED ` R+ 255,0,0
DARK RED R 128,0,0
YELLOW GR+ 255,255,0
DARK YELLOW GR 128,128,0
GREEN G+ 0,255,0
DARK GREEN G 0,128,0
CYAN BG+ 0,255,255
DARK CYAN BG 0,128,128
BLUE B+ 0,0,255
DARK BLUE B 0,0,128
MAGENTA RB+ 255,0,255
DARK MAGENTA RB 128,0,128
BLANK X N/A

You might also like