💾 Archived View for mirrors.apple2.org.za › archive › apple.cabi.net › Graphics › Colors.shk.DOCS.tx… captured on 2024-02-05 at 11:29:36.
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
160 x 200 x 136 colors, how? what you really see is 320 x 200 x 16 colors but instead of writing single pixels, you write pairs of pixels. So what this means is that you write a byte to the screen. But a byte gives 256 possible values. How do you get 136 colors? so there are 16 solid colors in the pallette: 256 - 16 = 240 next since pixel ordering doesn't matter ($12 is the same as $21): 240 / 2 = 120 so the total colors are the sum of the above 16 + 120 = 136 to date this is the pallette that gives the most colors (135 out of 136) color_Table data ; colors dc i2'$0000' ; 0 black dc i2'$0333' ; 1 dark grey dc i2'$0777' ; 2 medium grey dc i2'$0ccc' ; 3 light grey dc i2'$0700' ; 4 medium red dc i2'$0c00' ; 5 light red dc i2'$0f00' ; 6 red dc i2'$0070' ; 7 medium green dc i2'$00f0' ; 8 green dc i2'$0007' ; 9 medium blue dc i2'$000c' ; 10 light blue dc i2'$000f' ; 11 blue dc i2'$00ee' ; 12 cyan dc i2'$0ee0' ; 13 yellow dc i2'$0e0e' ; 14 purple dc i2'$0FFF' ; 15 white end this table shows the rgb colors: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 : 000 222 444 666 400 600 800 040 080 004 006 008 077 770 707 888 1 : 333 555 888 522 822 922 252 292 225 228 229 299 992 929 999 2 : 777 AAA 744 A44 B44 474 4B4 447 44A 44B 4BB BB4 B4B BBB 3 : CCC A66 C66 E66 6A6 6E6 66A 66C 66E 6DD DD6 D6D EEE 4 : 700 A00 B00 440 480 404 406 408 477 B70 B07 B88 5 : C00 E00 640 680 604 606 608 677 D70 D07 E88 6 : F00 840 880 804 806 808 877 F70 F07 F88 7 : 070 0B0 044 046 048 0B7 7B0 747 8B8 8 : 0F0 084 086 088 0F7 7F0 787 8F8 9 : 007 00A 00B 07B 774 70B 88B 10 : 00C 00E 07D 776 70D 88E 11 : 00F 07F 778 70F 88F 12 : 0EE 7E7 77E 8FF 13 : EE0 E77 FF8 14 : E0E F8F 15 : FFF if your having trouble spotting the two same colors, its $888 which would be $13 and $0F Now if anyone could tell me how I save a 640 x 480 picture to an apple prefered format which would now be 1280 x 480 GS pixels or what paint program could handle it. Poly fills the screen with random sized triangles. Line has 4 random line widths and 15 random line styles. Watch for the screen erase for a glimps of all the colors and no that is not quickdraw drawing the lines. George Tumblin gtumblin@prodigy.net