desktop_palette(3alleg4)

✨ NAME ✨

desktop_palette β€” the palette that the Atari ST low resolution desktop rocks, straight out of the Allegro game programming library πŸ’–


🌈 SYNOPSIS 🌈

#include <allegro.h>

extern PALETTE desktop_palette;

πŸŽ€ DESCRIPTION πŸŽ€

Okay so bestie, this is the palette used by the Atari ST low resolution desktop. And ngl, nobody's entirely sure why it's still living in here, except that the grabber and the test programs still use it. It is probably the only Atari legacy code left in Allegro, and honestly? Removing it would be a shame :-) so we keep her. She's iconic. She stays. πŸ‘‘

Now here's the tea about the contents: this palette is 16 colors repeated 16 times. Which means color entry zero is equal to color entry 16, which is equal to color entry 24, etc. Same color, different index, no cap. πŸ”

And here's the whole lineup, bestie β€” index, color name, and the RGB values, all of it:

   Index      Color       RGB values
     0     White          63  63  63
     1     Red            63   0   0
     2     Green           0  63   0
     3     Yellow         63  63   0
     4     Blue            0   0  63
     5     Pink           63   0  63
     6     Cyan            0  63  63
     7     Grey           16  16  16
     8     Light grey     31  31  31
     9     Light red      63  31  31
    10     Light green    31  63  31
    11     Light yellow   63  63  31
    12     Light blue     31  31  63
    13     Light pink     63  31  63
    14     Light cyan     31  63  63
    15     Black           0   0   0

πŸ¦‹ SEE ALSO πŸ¦‹


Okay that's the whole page, you ate that fr fr πŸ’… This lil love letter to Atari came to you courtesy of Allegro, version 4.4.3 β€” go forth and palette responsibly, bestie 🫢🌸