Skip to main content
All colors and brand-specific styles live in one file: color-palette.md. This is the single source of truth for all color choices in your diagrams—shape fills, strokes, text colors, evidence artifact backgrounds, everything.

The Customization Philosophy

Everything else in this skill is universal design methodology and Excalidraw best practices. To make this skill produce diagrams in your own brand style, you only need to edit one file.
The skill reads color-palette.md before generating any diagram and uses it as the authoritative source for all color decisions.

Locating the Color Palette

The color palette is at:
This file defines four categories of colors:
  1. Shape Colors (semantic purpose-based)
  2. Text Colors (hierarchy-based)
  3. Evidence Artifact Colors (for code/data examples)
  4. Default Stroke & Line Colors

Editing the Color Palette

Complete Example: Custom Brand Palette

Here’s a full example of customizing the palette for a fictional brand “TechFlow” with purple as the primary color:
Notice:
  • Primary changed from blue (#3b82f6) to purple (#9333ea)
  • Stroke darkened to maintain contrast (#4a1d7a)
  • Secondary adjusted to lighter purple (#c084fc)
  • Start/End colors remain distinct but harmonize with the new palette

Color Pairing Guidelines

Fill + Stroke Contrast

Ensure sufficient contrast between fill and stroke:
Result: Clear, readable outline.

Text on Colored Backgrounds

When text sits inside a colored shape, ensure readability: Rule of thumb:
  • Light fills → dark text (#374151 or darker)
  • Dark fills → white text (#ffffff)
From the palette:

Semantic Color Meanings

When customizing, maintain the semantic meanings:
Don’t invent new semantic categories. If a concept doesn’t fit an existing category, use Primary/Neutral or Secondary. Adding custom categories won’t be recognized by the skill.

Testing Your Customizations

After editing color-palette.md, create a test diagram:

Advanced: Color Accessibility

For diagrams that will be viewed by colorblind users or in print/grayscale:
Differentiate elements with:
  • Different shapes (rectangle vs ellipse vs diamond)
  • Different stroke widths (strokeWidth: 1 vs strokeWidth: 3)
  • Dashed vs solid strokes (strokeStyle: "dashed" vs "solid")
Convert your rendered PNG to grayscale to verify that:
  • Different elements are still distinguishable
  • Text remains readable
  • Flow is still clear without color cues
Use a contrast checker (e.g., WebAIM) to verify:
  • Text vs background: minimum 4.5:1 for normal text
  • Stroke vs fill: minimum 3:1 for visual clarity

Troubleshooting

Ensure you:
  1. Saved the color-palette.md file after editing
  2. Used valid hex color codes (e.g., #3b82f6, not blue or rgb(59, 130, 246))
  3. Kept the same semantic purpose names (don’t rename “Primary/Neutral” to “Main Color”)
Check color harmony:
  • Use a tool like Adobe Color or Coolors to validate your palette
  • Ensure all colors are from the same “family” (similar saturation/brightness)
  • Test with a full diagram, not just individual shapes
Adjust the “On light fills” / “On dark fills” text colors:
  • Light fills need darker text (try #1f2937 or darker)
  • Dark fills need white or very light text (#ffffff or #f9fafb)

Next Steps

Creating Diagrams

Start creating diagrams with your new brand colors

Color Palette Reference

See the full default color palette reference

Element Templates

Use templates that reference your custom colors