Path: utzoo!utgpu!water!watmath!221.162.fido!Usenet_area_"Cs.I.Pc" From: 221.162.fido!Usenet_area_"Cs.I.Pc"@watmath.waterloo.edu Newsgroups: comp.sys.ibm.pc Subject: Re: EGA color palatte Message-ID: <16225@watmath.waterloo.edu> Date: 8 Jan 88 03:33:25 GMT Sender: ugate@watmath.waterloo.edu Lines: 136 From Usenet: watmath!clyde!rjs From: rjs@moss.ATT.COM Newsgroups: comp.sys.ibm.pc Subject: Re: EGA color palatte Summary: Color table filled in Message-ID: <19827@clyde.ATT.COM> Date: 8 Jan 88 16:55:26 GMT References: <2310@nicmad.UUCP> Sender: nuucp@clyde.ATT.COM Distribution: na Lines: 121 Mr. Video (brown@nicmad.UUCP) asked about the colors for EGA (in message 2310@nicmad.UUCP). He provided a partial table of the 64 colors. I found a program on a BBS called KC-PAL (version 1.01) which lets you look at each of the colors (16 at a time) by specifying the color numbers for each of 16 rectangles on the screen. My EGA monitor appears to take two different forms of color input (I'm just starting to learn this stuff, so the following could be totally wrong). The first uses 4 TTL signals to specify color. These are Intensity, Red, Green, and Blue (referred to by Mr. Video as RGBI). The second uses 6 TTL signals: primary Red, Green, and Blue, and secondary red, green, and blue (referred to by Mr. Video as RGB). The secondary signals seem to act as intensifiers of the primary signals. Thus with two signals per phosphor color you get four levels of intensity for each of the three phosphor colors (red, green, and blue). These values can be thought of as follows: Intensity Primary Secondary Appearance Value Signal Signal 0 off off Phosphor not illuminated 1 off on Phosphor slightly illuminated 2 on off Phosphor normally illuminated 3 on on Phosphor highly illuminated The KC-PAL program actually reverses the meanings of intensity values 1 and 2 above, but I figured I would give them in the order of apparent intensity. I filled in the color table provided by Mr. Video below. I added an RGB column giving the intensity values for each of the phosphor colors according to the above chart. My interpretation of the colors is in parentheses, while Mr. Video's appear as he presented them. I'm not very good at giving names to the colors I see, so you'll have to bear with me on this. Decimal RGB Apparent color 0 000 Black 1 002 dark blue 2 020 Dark Green 3 022 cyan 4 200 dark red (deep red) 5 202 magenta 6 220 yellow 7 222 Gray (dim white) 8 001 real dark red (real dark blue) 9 003 real blue (bright blue) 10 021 (blue-green, mostly green) 11 023 (pale blue) 12 201 (pinkish red) 13 203 (bluish magenta, sorta purple) 14 221 (yellow, slightly greenish) 15 223 (bluish white) 16 010 real dark green 17 012 (slightly lighter than dark blue) 18 030 real green (bright pale green) 19 032 (bright pale blue-green) 20 210 (orange, rust) 21 212 (purple) 22 230 (bright yellow-green) 23 232 (greenish white) 24 011 dark cyan 25 013 (bright blue) 26 031 (bright bluish green) 27 033 Blue (bright cyan, light sky blue) 28 211 (muddy pink) 29 213 (light purple) 30 231 (bright yellow-green) 31 233 (bright bluish-white) 32 100 real dark red 33 102 (blue w/slight purplish tinge) 34 120 (green) 35 122 (bluish white) 36 300 real red (bright red) 37 302 (shocking pink) 38 320 (orangish-yellow) 39 322 Pink (pinkish white) 40 101 real dark magenta 41 103 (bright blue) 42 121 (bluish green) 43 123 (dark sky blue) 44 301 (orangish shocking pink) 45 303 magenta (bright magenta) 46 321 Orange (pale yellow-orange) 47 323 Lavender 48 110 (olive green) 49 112 (slightly purpled blue) 50 130 (bright yellow green) 51 132 Light Green (bright) 52 310 Red (orange) 53 312 Magenta (bright) 54 330 Yellow (bright) 55 332 Amber (yellowish white) 56 111 dark grey 57 113 dark blue (light blue) 58 131 Green (pale green) 59 133 (bluish white) 60 311 dark red (orangish red) 61 313 (bright magenta) 62 331 (muddy yellow) 63 333 White (bright) Color values 0-7 above account for the Intensity signal off in the RGBI connector, while values 56-63 account for the Intensity signal on. For more information on the KC-PAL program, contact: Kent Cedola 2015 Meadow Lake Court Norfolk, VA. 23518 or look for it on a BBS near you. I think Mr. Cedola is using KC_PAL as a demo program in order to advertise the availability of a graphic library for Microsoft C which he has developed. Robert Snyder {clyde|ihnp4}!moss!rjs Disclaimer: I don't know Mr. Cedola or his advertised products. I am not representing the opinions of AT&T or any other entity besides myself in this note. --- via UGate v1.6 * Origin: watmath (221/163)