Papilio
A dark theme built from a character’s colours: raw anchors pulled from the art, then adjusted one by one until they pass contrast on screen.
The palette
20 tokens
From the character to the screen
the raw colour and the one that survived contrast
The anchors are colours taken straight from the art. Almost none of them pass contrast over the editor background — so each was lifted until it did, keeping its hue. The ratios below are computed against that background, not copied from a note.
the red of her eyes, lifted until it passes for body text
the flower’s vivid red is beautiful and unreadable; it became pink
the hat’s bronze, pulled toward gold
the violet ribbon is nearly black in the art; here it lights up
the night sky behind her, raised to a syntax blue
Roles
what each token colours in code
⚠ A fan-made project, unaffiliated with HoYoverse. Inspired by Hu Tao’s palette (Genshin Impact); all trademarks belong to their owners.