Player yellow brightens so laptop panels cannot read it as orange

Mustard #c9a72a drifted orange on washed-out screens and blurred into
the red beside it in rings, dots, and names. #ecc716 stays yellow on
any panel. The accent gold elsewhere keeps the house tone — it never
stands next to a player's red.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015RCWSTnb1KYTPyL4GmhGnF
This commit is contained in:
Eric Wagoner
2026-08-30 15:50:42 -04:00
co-authored by Claude Fable 5
parent 9aaccf4f30
commit 51aae53ae2
+3 -1
View File
@@ -1,7 +1,9 @@
// The six physical standee colors, in colorIndex order.
import type { GameView } from "@wizwar/engine";
export const PLAYER_COLORS = ["#1a9c46", "#d3352b", "#c9308f", "#3a3ac0", "#2ab0c9", "#c9a72a"];
// The yellow must stay unmistakably yellow on a washed-out laptop panel:
// mustard drifts orange there and blurs into the red beside it.
export const PLAYER_COLORS = ["#1a9c46", "#d3352b", "#c9308f", "#3a3ac0", "#2ab0c9", "#ecc716"];
export function colorIndexOf(view: GameView, id: string): number {
const p = view.players.find((p) => p.id === id);