Anda di halaman 1dari 4

3510-2 appD.f.

qc

7/28/00

13:53

Page 723

A P P E N D I X

Color
Assignments
and Video
Modes Chart

he information given in this appendix can be useful for


menu programs or other applications that enable you to
customize screen colors by number.

00
01
02
03
04
05
06
07
08
09
0A
0B
0C
0D
0E
0F
80

BLUE=1

GREEN=2

CYAN=3

RED=4

MAGENTA=5

YELLOW=6

WHITE=7

GREY=8

BRIGHT BLUE=9

BRIGHT GREEN=10

BRIGHT CYAN=11

BRIGHT RED=12

BRIGHT MAGENTA=13

BRIGHT YELLOW=14

BRIGHT WHITE=15

BLACK = 0

128

15

14

13

12

11

10

Dec

Hex

90

1F

1E

1D

1C

1B

1A

19

18

17

16

15

14

13

12

11

10

Hex

144

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

Dec

Blue 1

A0

2F

2E

2D

2C

2B

2A

29

28

27

26

25

24

23

22

21

20

Hex

160

47

46

45

44

43

42

41

40

39

38

37

36

35

34

33

32

Dec

Green 2

B0

3F

3E

3D

3C

3B

3A

39

38

37

36

35

34

33

32

31

30

Hex

176

63

62

61

60

59

58

57

56

55

54

53

52

51

50

49

48

Dec

Cyan 3

C0

4F

4E

4D

4C

4B

4A

49

48

47

46

45

44

43

42

41

40

192

79

78

77

76

75

74

73

72

71

70

69

68

67

66

65

64

Hex Dec

Red

D0

5F

5E

5D

5C

5B

5A

59

58

57

56

55

54

53

52

51

50

Hex

208

95

94

93

92

91

90

89

88

87

86

85

84

83

82

81

80

Dec

Mag. 5

E0

6F

6E

6D

6C

6B

6A

69

68

67

66

65

64

63

62

61

60

Hex

224

111

110

109

108

107

106

105

104

103

102

101

100

99

98

97

96

Dec

Yellow 6

F0

7F

7E

7D

7C

7B

7A

79

78

77

76

75

74

73

72

71

70

Hex

240

127

126

125

124

123

122

121

120

119

118

117

116

115

114

113

112

Dec

White 7

13:53

BLACK=0

Blk.

7/28/00

Foreground

Background

724

Table D-1
IBM-PC Hexadecimal/Decimal Color Number Assignments

3510-2 appD.f.qc
Page 724

Appendixes

83
84
85
86
87
88
89
8A
8B
8C
8D
8E
8F

CYAN = 3

RED = 4

MAGENTA = 5

YELLOW = 6

WHITE = 7

GREY = 8

BRIGHT BLUE = 9

BRIGHT GREEN = 10

BRIGHT CYAN = 11

BRIGHT RED = 12

BRIGHT MAGENTA = 13

BRIGHT YELLOW = 14

BRIGHT WHITE = 15

143

142

141

140

139

138

137

136

135

134

133

132

131

130

9F

9E

9D

9C

9B

9A

99

98

97

96

95

94

93

92

91

Hex

159

158

157

156

155

154

153

152

151

150

149

148

147

146

145

Dec

Blue 1

175

174

173

172

171

170

169

168

167

166

165

164

163

162

161

Dec

BF

BE

BD

BC

BB

BA

B9

B8

B7

B6

B5

B4

B3

B2

B1

Hex

191

190

189

188

187

186

185

184

183

182

181

180

179

178

177

Dec

Cyan 3

* Do not confuse these with the color hue settings that use numbers from 0 to 255 for each color gun.

* Color numbers 128255 (decimal) blink on solid background.

AF

AE

AD

AC

AB

AA

A9

A8

A7

A6

A5

A4

A3

A2

A1

Hex

Green 2

CF

CE

CD

CC

CB

CA

C9

C8

C7

C6

C5

C4

C3

C2

C1

207

206

205

204

203

202

201

200

199

198

197

196

195

194

193

Hex Dec

Red

DF

DE

DD

DC

DB

DA

D9

D8

D7

D6

D5

D4

D3

D2

D1

Hex

223

222

221

220

219

218

217

216

215

214

213

212

211

210

209

Dec

Mag. 5

EF

EE

ED

EC

EB

EA

E9

E8

E7

E6

E5

E4

E3

E2

E1

Hex

239

238

237

236

235

234

233

232

231

230

229

228

227

226

225

Dec

Yellow 6

FF

FE

FD

FC

FB

FA

F9

F8

F7

F6

F5

F4

F3

F2

F1

Hex

255

254

253

252

251

250

249

248

247

246

245

244

243

242

241

Dec

White 7

13:53

* Color numbers 0127 (decimal) do not blink on solid background.

82

GREEN = 2

129

Dec

Hex

81

Blk.

7/28/00

BLUE = 1

Foreground

Background

3510-2 appD.f.qc
Page 725

Appendix D Color Assignments and Video Modes Chart

725

3510-2 appD.f.qc

726

7/28/00

13:53

Page 726

Appendixes

Table D-2
IBM-PC Video Modes
Mode

Type

Columns
Rows

Pixels

Number of Colors

Mono. text

40 25

320 200

2 Black/White

Color text

40 25

320 200

Fore = 16/Back = 8 (EGA =16)

Mono. text

80 25

640 200

2 Black/White

Color text

80 25

640 200

Fore = 16/Back = 8 (EGA =64)

Color graphics

40 25

320 200

Mono. graphics

40 25

320 200

2 Black/White

Color graphics

80 25

640 200

2 Black/White

Mono. text

80 25

720 350

2 Black/White

Color graphics

160 200

16 (PCjr)

Color graphics

40 25

320 200

16 (PCjr)

10

Color graphics

80 25

640 200

4 (PCjr)

11

(Reserved IBM)

12

(Reserved IBM)

13

Color graphics

40 25

320 200

16 (EGA)

14

Color graphics

80 25

640 200

16 (EGA)

15

Mono. graphics

80 25

640 350

2 Black/White (some 4color)

16

Color graphics

80 25

640 350

16 or 64 (EGA)

17

Color graphics

80 30

640 480

2 Black/White (MCGA/VGA)

18

Color graphics

80 30

640 480

16 (VGA)

19

Color graphics

40 25

320 200

256 (MCGA/VGA)

Anda mungkin juga menyukai