You're viewing a demo portfolio

Join the waitlist
PRSM

palette_gradient

Active

Tool of Colour Memory

declared in 2.3.4

Generate a perceptually smooth gradient between 2-5 archive anchor colours. Each interpolated stop snaps to the nearest real archive colour by CIEDE2000. Anchor stops are kept true to their source. Choose linear (physically accurate Lab interpolation) or chroma_preserved (LCh interpolation, short-arc hue, avoids desaturated midpoints). Returns stop array, CSS linear-gradient string, or SVG swatch bar. Use for design briefs, colour journey visualisations, and gradient systems.

Parameters schema

{
  "type": "object",
  "required": [
    "anchors"
  ],
  "properties": {
    "path": {
      "enum": [
        "linear",
        "chroma_preserved"
      ],
      "type": "string",
      "default": "chroma_preserved",
      "description": "linear: straight Lab lerp (may have neutral midpoint). chroma_preserved: LCh short-arc, saturation maintained."
    },
    "steps": {
      "type": "integer",
      "default": 7,
      "description": "Total stops including anchors (default 7, max 20)"
    },
    "anchors": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "2-5 hex values (#RRGGBB) or exact archive colour names"
    },
    "archive": {
      "type": "string",
      "description": "Restrict snapping to this archive name e.g. Victorian"
    },
    "output_format": {
      "enum": [
        "stops",
        "css",
        "svg"
      ],
      "type": "string",
      "default": "stops",
      "description": "stops: array of colour objects. css: linear-gradient string. svg: swatch bar."
    },
    "snap_to_archive": {
      "type": "boolean",
      "default": true,
      "description": "Snap each stop to nearest archive colour (default true)"
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.50.

Parent server

Colour Memory

https://github.com/DigbyO/colour-memory-api

2/7 registries
View full server →
palette_gradient — Colour Memory — PRSM MCP