From agent-almanac
Designs polychromatic ornamental patterns using historical color palettes and Speltz taxonomy for Islamic tilework, manuscripts, Art Nouveau. For decorative designs and art history imagery.
npx claudepluginhub pjt222/agent-almanacThis skill uses the workspace's default tool permissions.
---
Designs ornamental patterns in modern speculative aesthetics like cyberpunk solarpunk brutalist using CVD-accessible scales (viridis cividis inferno). For UI game assets accessible digital designs.
Generates seamless tileable patterns using each::sense AI for textiles, wallpapers, gift wrap, digital backgrounds, and surface designs that repeat without visible seams.
Generates harmonious 8-12 color palettes from text descriptions, moods, images, brands, or starting colors. Outputs self-contained HTML with swatches, hex/RGB/HSL codes, contrast ratios, and pairings.
Share bugs, ideas, or general feedback.
Design polychromatic ornamental patterns by combining art historical color knowledge with AI-assisted image generation. Builds on the structural foundation of ornament-style-mono by adding period-authentic color palettes, color harmony principles, and rendering styles suited to painted, illuminated, and glazed ornament.
Choose a period and identify its characteristic color language. Color in ornament is never arbitrary — each period has a palette rooted in available pigments, cultural symbolism, and material context.
Historical Ornament Periods with Characteristic Palettes:
┌───────────────────┬─────────────────┬────────────────────────────────────────────────────────┐
│ Period │ Date Range │ Characteristic Palette │
├───────────────────┼─────────────────┼────────────────────────────────────────────────────────┤
│ Egyptian │ 3100–332 BCE │ Lapis blue, gold/ochre, terracotta red, black, white │
│ │ │ Mineral pigments: flat, unmodulated, high contrast │
├───────────────────┼─────────────────┼────────────────────────────────────────────────────────┤
│ Greek │ 800–31 BCE │ Terracotta red, black, ochre, white, blue (rare) │
│ │ │ Pottery palette; architectural color largely lost │
├───────────────────┼─────────────────┼────────────────────────────────────────────────────────┤
│ Roman │ 509 BCE–476 CE │ Pompeii red, ochre yellow, black, white, verdigris │
│ │ │ Fresco palette: warm earth tones, strong red dominant │
├───────────────────┼─────────────────┼────────────────────────────────────────────────────────┤
│ Byzantine │ 330–1453 CE │ Gold (dominant), deep blue, crimson, purple, white │
│ │ │ Mosaic tesserae: jewel tones, gold ground, luminous │
├───────────────────┼─────────────────┼────────────────────────────────────────────────────────┤
│ Islamic │ 7th–17th c. │ Turquoise/cobalt blue, white, gold, emerald green │
│ │ │ Tile glazes: luminous, saturated, geometric precision │
├───────────────────┼─────────────────┼────────────────────────────────────────────────────────┤
│ Romanesque │ 1000–1200 CE │ Ochre, rust red, deep green, dark blue, cream │
│ │ │ Manuscript and stone: earthy, muted, mineral-derived │
├───────────────────┼─────────────────┼────────────────────────────────────────────────────────┤
│ Gothic │ 1150–1500 CE │ Ultramarine blue, ruby red, emerald green, gold, white │
│ │ │ Stained glass + illumination: saturated, luminous │
├───────────────────┼─────────────────┼────────────────────────────────────────────────────────┤
│ Renaissance │ 1400–1600 CE │ Rich earth tones, azure blue, gold leaf, warm greens │
│ │ │ Oil and fresco: naturalistic, modulated, subtle │
├───────────────────┼─────────────────┼────────────────────────────────────────────────────────┤
│ Baroque/Rococo │ 1600–1780 CE │ Pastel pink, powder blue, cream, gold, soft green │
│ │ │ (Rococo) vs deep burgundy, gold, forest green (Baroque) │
├───────────────────┼─────────────────┼────────────────────────────────────────────────────────┤
│ Art Nouveau │ 1890–1910 CE │ Sage green, dusty rose, amber/gold, muted purple, │
│ │ │ teal. Organic, muted, nature-derived palette │
└───────────────────┴─────────────────┴────────────────────────────────────────────────────────┘
Expected: A clearly identified period with its characteristic palette and material context understood.
On failure: If the user requests a period not in the table, research its color language using WebSearch for "[period] ornament color palette pigments" and construct an equivalent entry. Historical pigment availability is a reliable guide to period-authentic color.
Translate the historical palette into a specific 3-5 color set with defined roles.
Color Role Framework:
Color Distribution (60/30/10 Rule):
┌──────────────┬────────────┬──────────────────────────────────────────┐
│ Role │ Proportion │ Function │
├──────────────┼────────────┼──────────────────────────────────────────┤
│ Dominant │ ~60% │ Ground color or primary structural color │
│ Secondary │ ~30% │ Motif fill or supporting structural color │
│ Accent │ ~10% │ Highlights, details, focal points │
│ (Optional) │ — │ Additional accent or metallic (gold) │
│ (Optional) │ — │ Background / ground if different from │
│ │ │ dominant │
└──────────────┴────────────┴──────────────────────────────────────────┘
Color Harmony Approaches:
Example Palette Definitions:
Expected: A palette of 3-5 named colors with roles, proportions, harmony approach, and mood defined.
On failure: If color selection feels arbitrary, anchor to the period's material context. Ask: "What pigments were physically available?" and "What was the ground material?" (gold leaf on vellum, glaze on ceramic, paint on plaster). The material constrains and authenticates the palette.
Understand the structural grammar of the chosen motif, extending the monochrome analysis with color-to-structure mapping.
Perform the same structural analysis as ornament-style-mono Step 2:
Add color-to-structure mapping:
Example Mapping:
Islamic Star Pattern:
- Star forms: turquoise (dominant)
- Interlocking geometric ground: white (secondary)
- Star center details: cobalt blue (accent)
- Outline/border: gold (detail)
→ Color follows form strictly — each geometric shape is one flat color
Expected: A structural description with explicit color assignments for each structural element.
On failure: If the color-to-structure mapping is unclear, study historical examples using WebSearch for "[period] [motif] ornament color" and observe how color was actually used. Historical ornament almost always uses color to clarify structure, not obscure it.
Build the text prompt for Z-Image generation, incorporating color palette and rendering style.
Prompt Template:
[Rendering style] of [motif name] ornament in the [period] style,
[composition type], [color palette description],
[color mood], [structural details from Step 3],
[application context], [additional qualifiers]
Color-Appropriate Rendering Styles:
painted ornament — brushwork visible, opaque colors, fresco or oil qualityilluminated manuscript — gold leaf, rich jewel tones, vellum groundglazed ceramic tile — glossy surface, flat color, precise edgesstained glass — translucent color, dark leading lines between shapeswatercolor illustration — transparent washes, soft edges, paper visibleenamel on metal — hard glossy color, metallic groundmosaic — small tesserae, visible gaps between pieces, luminousprinted poster — flat color areas, Art Nouveau or Arts & Crafts qualityColor Description in Prompts:
Example Prompts:
glazed ceramic tile ornament in the Islamic style, geometric star pattern, turquoise blue and white with cobalt blue accents and gold outlines, vivid saturated colors, repeating tessellation, Iznik tilework qualityilluminated manuscript border in the Gothic style, vine and trefoil ornament, ultramarine blue and ruby red with gold leaf details on cream vellum, rich jewel tones, vertical panel, medieval book of hours qualitywatercolor illustration of Art Nouveau floral ornament, whiplash curves with lily motif, sage green and dusty rose with amber gold accents, muted organic tones, vertical panel, Alphonse Mucha influenceExpected: A prompt of 25-50 words that specifies rendering style, motif, period, composition, and explicit color information.
On failure: If the prompt produces color that does not match the palette, front-load the color description in the prompt (put it before the motif description). Z-Image weights earlier prompt tokens more heavily. Also try naming specific hex colors or well-known pigment names (ultramarine, vermillion, ochre).
Select resolution and generation parameters. Color ornament often benefits from slightly more inference steps than monochrome.
Resolution by Application (same as ornament-style-mono):
┌────────────────────┬─────────────────────┬────────────────────────────────┐
│ Application │ Recommended │ Rationale │
├────────────────────┼─────────────────────┼────────────────────────────────┤
│ Medallion / Roundel│ 1024x1024 (1:1) │ Radial symmetry needs square │
│ Tile / Repeat Unit │ 1024x1024 (1:1) │ Square for seamless tiling │
│ Horizontal Frieze │ 1280x720 (16:9) │ Wide format for running border │
│ Vertical Panel │ 720x1280 (9:16) │ Portrait format for columns │
│ Wide Border │ 1344x576 (21:9) │ Ultrawide for architectural │
│ General / Flexible │ 1152x896 (9:7) │ Balanced landscape format │
│ Large Detail │ 1536x1536 (1:1) │ Higher res for fine color work │
└────────────────────┴─────────────────────┴────────────────────────────────┘
steps to 10-12 for color work (color detail and palette accuracy benefit from more steps)shift to 3 (default)random_seed: true for exploration or random_seed: false with a specific seed for reproducibilityExpected: A complete parameter set. Note that color ornament generally needs 10+ steps for good palette fidelity.
On failure: If unsure, use 1024x1024 at 10 steps. This is a reliable default for most color ornament contexts.
Invoke the Z-Image MCP tool to produce the ornament.
mcp__hf-mcp-server__gr1_z_image_turbo_generate with:
prompt: the constructed prompt from Step 4resolution: from Step 5steps: from Step 5 (recommend 10-12)shift: from Step 5random_seed: from Step 5seed: specific seed if random_seed is falseExpected: A generated image with recognizable ornamental forms and visible color. The color may not perfectly match the specified palette — this is addressed in evaluation.
On failure: If the MCP tool is unavailable, verify that hf-mcp-server is configured (see configure-mcp-server or troubleshoot-mcp-connection). If the generated image is entirely abstract, the prompt needs more specific structural language — return to Step 4. If colors are completely wrong, front-load the color names in the prompt.
Assess the generated image against five criteria, extending the monochrome rubric with color-specific evaluation.
Polychromatic Ornament Evaluation Rubric:
┌─────────────────────┬───────────────────────────────────────────────────────┐
│ Criterion │ Evaluation Questions │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ 1. Palette Match │ Do the colors in the image approximate the specified │
│ │ palette? Are the named colors present? Are there │
│ │ unwanted colors that break the palette? │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ 2. Color │ Does the color distribution roughly follow the │
│ Distribution │ 60/30/10 allocation? Is the dominant color actually │
│ │ dominant? Does the accent appear sparingly? │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ 3. Rendering Style │ Does the image look like the specified rendering │
│ │ style? Does a "glazed tile" look glossy and flat? │
│ │ Does "illuminated manuscript" show gold and vellum? │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ 4. Period Accuracy │ Would this design be recognizable as belonging to │
│ │ the specified period? Are motifs period-appropriate? │
│ │ Does the color usage match period conventions? │
├─────────────────────┼───────────────────────────────────────────────────────┤
│ 5. Form-Color │ Does color clarify the ornamental structure or │
│ Balance │ obscure it? Can you "read" the motifs through the │
│ │ color? Does color follow form as intended? │
└─────────────────────┴───────────────────────────────────────────────────────┘
Expected: A scored evaluation with specific observations. Color ornament is harder to control than monochrome — expect Adequate scores on first generation for palette match and distribution.
On failure: If most criteria score Weak, the prompt may need fundamental restructuring. Common fixes: move color names to the very beginning of the prompt, use fewer colors, specify the ground color explicitly, increase steps to 12.
Refine the design through targeted iteration or accept the result.
Color-Specific Iteration Strategies:
Iteration Budget: Limit to 3 iterations per design concept. Color iteration often requires more prompt adjustment than monochrome.
Expected: Improved color fidelity after 1-2 iterations. Perfect palette match is unlikely — aim for "recognizably in the right color family."
On failure: If iteration is not converging, the color palette may be too specific for the model to reproduce reliably. Simplify to fewer colors (3 instead of 5), use broader color descriptions ("warm earth tones" instead of specific hex values), or accept the closest approximation.
Create a complete record of the final design for reproducibility and reference.
Expected: A reproducible record with full color documentation including hex approximations and palette analysis.
On failure: If full documentation feels excessive, at minimum record the final prompt, seed, and a list of intended vs. actual colors. These allow reproduction and palette adjustment in future iterations.
ornament-style-monoornament-style-mono — the monochrome foundation skill; always available as a fallback when color is not cooperating, and recommended as a first step for understanding motif structure before adding colorreview-web-design — color theory principles (contrast, harmony, rhythm) apply directly to ornamental color compositionmeditate — focused attention and color visualization practices can inform palette development