On Thu, 8 Jan 2004 20:30:12 +0900, Keonwoo Kim wrote: >> 2) The color hue seems is not as original as original in real Apple. > I want to emulate NTSC type color model. Apple's color is based on > four colors, and by its combination 16 colors generated. - but it > seems not same as original color. I need to adjust the colors.. A few months back, Robert P. Munafo formulated a more accurate Apple II palette. He published it as a patch for xapple2, but the crucial part is below: SET_C_RGB(0x00, 0x00, 0, 0, 0) /* Black COLOR=0 */ SET_C_RGB(0x10, 0x08, 227, 30, 96) /* Magenta COLOR=1 */ SET_C_RGB(0x20, 0x01, 96, 78, 189) /* Dark Blue COLOR=2 */ SET_C_RGB(0x30, 0x09, 255, 68, 253) /* Purple COLOR=3 HCOLOR=2 */ SET_C_RGB(0x40, 0x02, 0, 163, 96) /* Dark Green COLOR=4 */ SET_C_RGB(0x50, 0x0a, 156, 156, 156) /* Dark Grey COLOR=5 */ SET_C_RGB(0x60, 0x03, 20, 207, 253) /* Medium Blue COLOR=6 HCOLOR=6 */ SET_C_RGB(0x70, 0x0b, 208, 195, 255) /* Light Blue COLOR=7 */ SET_C_RGB(0x80, 0x04, 96, 114, 3) /* Brown COLOR=8 */ SET_C_RGB(0x90, 0x0c, 255, 106, 60) /* Orange COLOR=9 HCOLOR=5 */ SET_C_RGB(0xa0, 0x05, 156, 156, 156) /* Light Gray COLOR=10 */ SET_C_RGB(0xb0, 0x0d, 255, 160, 208) /* Pink COLOR=11 */ SET_C_RGB(0xc0, 0x06, 20, 245, 60) /* Green COLOR=12 HCOLOR=1 */ SET_C_RGB(0xd0, 0x0e, 208, 221, 141) /* Yellow COLOR=13 */ SET_C_RGB(0xe0, 0x07, 114, 255, 208) /* Aqua COLOR=14 */ SET_C_RGB(0xf0, 0x0f, 255, 255, 255) /* White COLOR=15 */ ^^^ ^^^ ^^^ RED GRN BLU I'm not sure whether this is absolutely perfect ('light' and 'dark' gray are exactly the same?), but it's something to work with, in any case. You can read more about this, including how to get in touch with him (although I have no idea how busy he is, sorry), at < http://www.mrob.com/pub/xapple2/ >. I'm guessing that you'll want to ask permission if you would like to use his palette. -- Matthew W. Miller "You shouldn't trust _any_ software. Software is _at best_ a faithful but bumbling zombie servant that ineptly performs your bidding. At worst, it's an evil zombie that wants to kill you and eat your brain." --Mr Bad, on Trusted Computing