Job colours

Every job in Hire the agent has a colour, so you can tell a fix from a test at a glance. This is how the colours were chosen.

The rules

  1. The colour follows the job's type, the first word of the job: Fix: …, Add: …, Test: …. Any new job is coloured automatically.
  2. Status colours are never job colours. Green means the tests passed. Red means they failed. Orange is FAF's own mark.
  3. Retrying isn't a colour. When the agent iterates, the card keeps the job's colour and adds ↻ round 2: it's still the same job.
  4. Borrow what people already know. Where developers have a colour habit, use it.
  5. Spread the hues. Colours that sit close together blur at a glance and in video.
  6. Readable in light and dark mode. Where a colour is too pale for text (yellow on white), the text uses a darker tone of it.

The palette

TypeColourWhy
FixroseGitHub's "bug" label is red, but red already means "failed", so the nearest colour that still reads as a bug.
AddcyanGitHub's "enhancement" label is cyan.
Testyellow + blackA crash-test dummy: testing is what it's for.
UpgradepurpleLevelling up: purple is the "epic" tier in games.
RefactorslateNeutral grey: the behaviour doesn't change, only the code.
DocsblueGitHub's "documentation" label is blue.

Options we tried

PaletteVerdict
Acyan, blue, violet, indigo, magenta, slateRejected: four of the six are blues and purples, which blur together.
Bcyan, blue, violet, magenta, brown, slateBetter spread, but brown for Upgrade had no meaning (brown reads as "industrious").
Crose, cyan, yellow + black, purple, slate, blueChosen. Every colour has a reason. Yellow became possible once "iterate" stopped being amber.
C-magentaUpgrade magenta, Fix moves to purpleConsidered: magenta and rose are neighbours, and purple loses the "bug" feel for Fix.

In both modes, next to status

Job colours have to stay distinct from pass and fail, side by side.