default_palette(3)
β¨ 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:
- Write a small Allegro program that saves a screenshot with this palette. πΈ
- 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
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms