How to use the Color Palette Generator.
A palette should assign colors to roles and test actual foreground-background pairs. A visually pleasing collection does not guarantee readable text or accessible interactive states.
Make the workflow fit your task.
Choose colors for specific roles, then provide exact values and test the intended foreground-background pairs. Include interactive states and alternative surfaces where needed. Separate aesthetic preference from measured contrast and review the palette in real components.
- What you provide
- Brand attributes and accessibility constraints.
- What you get
- Candidate color palettes with checked contrast ratios.
See the input and the result.
Illustrative input and output · a teaching example, not a live WebAct run
Example input
Create a small UI palette using navy and warm cream, plus an orange-brown accent. Need body text, links and a filled action button. Calculate contrast for solid, opaque pairs.
Completed example
Background: #fff7ed Body text: #172554 — contrast on background ≈ 13.84:1 Underlined links/accent text: #9a3412 — contrast on background ≈ 6.88:1 Action button: #9a3412 background, #ffffff label — contrast ≈ 7.31:1 These pairs exceed the 4.5:1 normal-text threshold. This checks the stated solid-color pairs only; focus, hover, disabled states and the rest of the interface still need review.
Load this input into the prompt, then copy it to WebAct to try the task. Your result may differ from the illustration.
Decisions and troubleshooting.
Does a high-contrast text pair guarantee the entire interface is accessible?
No. Other states, controls and non-color cues also need review. Treat pair testing as one part of interface evaluation.
Why does an accent color work decoratively but fail for small text?
The text/background contrast may be insufficient. Assign the color to an appropriate role or adjust the pairing.
Reference for this workflow.
Try it with your own source.
Replace the example with your material in the task prompt. Keep the requirements you need, then copy the task into WebAct.
Customize and copy the task ↑