Colorize

From aladicf/better-web-ui · View interactive version

Colorize is an AI agent skill from the GitHub repository aladicf/better-web-ui. Build or refine UI color systems, warmth, semantic color, and color-based hierarchy in designs that are too gray, monochromatic, or missing color meaning. Use when the user mentions dull colors, gray UI, missing warmth, weak semantic color, or a need for stronger color hierarchy.

How to use this skill

Skill file

Strategically introduce color to designs that are too monochromatic, gray, or lacking in visual warmth and personality.

MANDATORY PREPARATION

Users start this workflow with /colorize. Once this skill is active, load $frontend-design — it contains design principles, anti-patterns, and the Context Gathering Protocol. Follow that protocol before proceeding — if no design context exists yet, you MUST load $setup first. Additionally gather: existing brand colors.


Assess Color Opportunity

Analyze the current state and identify opportunities:

  1. Understand current state:
  1. Identify where color adds value:

If any of these are unclear from the codebase, ask the user directly to clarify what you cannot infer.

CRITICAL: More color ≠ better. Strategic color beats rainbow vomit every time. Every color should have a purpose. Color should reinforce hierarchy that already exists — not replace it.

Plan Color Strategy

Create a purposeful color introduction plan:

Consult the color and contrast reference for palette structure, contrast, color-family selection, temperature, and theme behavior.

Consult the color ramp workflow reference when you need to build or repair tints, tones, shades, and reusable color stops.

Consult the semantic color reference when color needs to communicate state, alerts, or status—not just brand personality.

IMPORTANT: Color should enhance hierarchy and meaning, not create chaos. Less is more when it matters more.

Build the Palette Before Applying It

Think in hue, saturation, and lightness even if you ultimately encode the palette in OKLCH.

Neutral scale

Primary and accent scales

Saturation and brightness control

Contrast strategy

Introduce Color Strategically

Add color systematically across these dimensions:

Semantic Color

Accent Color Application

Background & Surfaces

Use OKLCH for implementation: It's perceptually uniform, meaning equal steps in lightness look equal. Great for generating harmonious scales. But still think conceptually in hue, saturation, and lightness when deciding how colors should behave.

Data Visualization

Borders & Accents

Typography Color

Treat color as a support to hierarchy:

Decorative Elements

Balance & Refinement

Ensure color addition improves rather than overwhelms:

Maintain Hierarchy

Treat color psychology as a directional tool, not a law:

Then verify the actual result against the product's audience and tone instead of trusting the color wheel blindly.

Accessibility

Cohesion

NEVER:

Verify Color Addition

Test that colorization improves the experience:

Remember: Color is emotional and powerful. Use it to create warmth, guide attention, communicate meaning, and express personality. But restraint and strategy matter more than saturation and variety. Be colorful, but be intentional.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.