default_palette(3)

πŸ“¦ version 4.4.3.1, in fedora 43, fedora 44

✨ NAME ✨

default_palette β€” the default IBM BIOS palette, bestie πŸ’– straight out of the Allegro game programming library.


🌸 SYNOPSIS 🌸

#include <allegro.h>

extern PALETTE default_palette;

πŸ’… DESCRIPTION πŸ’…

Okay so listen. default_palette is the default IBM BIOS palette. That's the whole vibe. πŸ‘‘

The way it works: this palette gets automatically selected any time you set a new graphics mode. No asking, no opt-in, it just shows up like the main character it is. πŸ’β™€οΈ

And what's inside? 16 basic colors plus many gradients between them. So like, the classics, but also every smooth little in-between moment. It's giving range. It's giving ✨versatility✨.

Now, if you're sitting there like "bestie I need to see the actual values", valid. Two ways, pick your fighter:

  1. Write a small Allegro program that saves a screenshot with this palette. πŸ“Έ
  2. Open the grabber tool that comes with Allegro and create a new palette object β€” which will use this palette by default, no cap.

That's it. That's the whole thing. Go be iconic with your 16 colors. πŸŽ€


πŸ¦‹ SEE ALSO πŸ¦‹


k bye bestie, this was the Allegro manual, version 4.4.3 β€” default_palette(3) and that's periodt πŸ’œπŸ«Ά

πŸ“¦ where this page comes from