Date: Wed, 22 Feb 1995 12:11:41 -0600 From: Mark O'Neil <moneil@BRAGG.BIO.PURDUE.EDU> Subject: Re: Mac/Windows Color Pallettes >>I'm currently designing projects using Director on a Mac...and using the >>Mac color pallette. My question is this....has anyone designed a pallette >>that combines the system pallette of both Mac and Windows so that when a >>project designed on a Mac is ported to Windows the colors are not totally >>out of whack. For my needs this would be a 256 color pallette. > >The mac system palette works just fine on the pc (at least better than the >win palette...)In some cases yes but not all... see below for some bi-platform palette info.
>BTW, *should* you include Windows' reserved colors in Director for Windows >palettes?If areas other than your .exe window are visible they will display incorrectly if you do not include the windows 20. Also, QT control sliders use three of the 20 and will display incorrectly if they are not included in the palette.
If cross platform, dither to 231 colors leaving room for windows 20 and apples 6 (2 of which are same as win) (if you want the apple icon to display correctly) this just eases the decision process. If you dither to 256 then you have to determine which colors to eliminate in leu of the win20 and apple6. If not cross platform dither to 256-platform#.
This is just my opinion...works for me. ;) see below for pal index:rgb value
0: 255, 255, 255 (1st win10) 1: 0, 255, 255 2: 255, 0, 255 3: 0, 0, 255 4: 255, 255, 0 (4,5 when swapped are 5 is 1 of apple 6) 5: 0, 255, 0 (swap 4 and 5 for a "perfect" apple menu) 6: 255, 0, 0 7: 128, 128, 128 8: 160, 160, 164 9: 255, 255, 240 (7,8,9 & 248 are used by QT) ----- remainder of apple 6 23: 255, 102, 0 32: 255, 0, 153 216: 221, 0, 0 227: 0, 187, 0 236: 170, 255, 221 ----- (2nd win10) 246: 164, 200, 240 247: 192, 220, 192 248: 192, 192, 192 249: 0, 191, 191 250: 213, 255, 191 251: 170, 255, 191 252: 42, 255, 191 253: 85, 255, 191 254: 0, 255, 191 255: 0, 0, 0
You can do all this using Debabilizer on the mac.
----------------------------------------------- Mark O'Neil Director of Scientific Illustration Dept. of Biological Sciences, Purdue University 1392-Lilly Hall of Life Sciences, Rm G-110 W. Lafayette, In 47907-1392 email: moneil@bilbo.bio.purdue.edu voice: (317)494-8119 fax: (317)494-0876 -----------------------------------------------