Scientific Color Maps logo

Scientific Color Maps

Community
DoiiarX
scientific-color-maps

Select, implement, and audit scientifically accurate, perceptually uniform, and color-vision-accessible color maps for data visualization. Use when creating or reviewing plots, heatmaps, maps, scalar fields, probability bars, progress indicators, scientific figures, dashboards, or visualization code; when choosing a palette or deciding whether hue changes carry real meaning; when replacing rainbow, jet, turbo, arbitrary low-medium-high colors, or red-green scales; or when checking grayscale readability, color blindness, color bars, normalization, and possible visual distortion. Also trigger on British spellings such as colour, colour map, and colour-vision deficiency.

Overview

PublisherDoiiarX
Repositoryclaude-skills
Skill namescientific-color-maps
Stars
23
Forks
0
Bundled files
4
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by DoiiarX on GitHub. Read the source before you install it.

Installation

Install the Scientific Color Maps AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/DoiiarX/claude-skills/tree/main/scientific-color-maps
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/DoiiarX/claude-skills.git /tmp/claude-skills
mkdir -p .claude/skills
cp -r /tmp/claude-skills/scientific-color-maps .claude/skills/scientific-color-maps
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Scientific Color Maps in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Scientific Color Maps on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Scientific Color Maps is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Scientific Color Maps

Treat color as a quantitative axis, not decoration. Preserve the structure of the data, make the mapping interpretable, and keep it readable under common color-vision deficiencies and grayscale reproduction.

Workflow

  1. Inspect the data and intended claim before choosing colors.
  2. Identify whether color is the primary quantitative channel or only reinforces position, length, height, or labels.
  3. Classify the variable and select the matching map class.
  4. Decide whether hue changes have a defensible semantic or perceptual purpose.
  5. Choose a documented perceptually uniform palette.
  6. Separate direct visualization evidence from adjacent color-psychology evidence.
  7. Implement the scale, normalization, limits, and color bar together.
  8. Validate the result under grayscale, color-vision simulation, and the final background.
  9. Report the exact palette and mapping decisions when reproducibility matters.

Read references/selection-and-audit.md when selecting among map classes, auditing an existing figure, or needing implementation guidance.

Read references/evidence-and-tools.md when applying visual-weight research, standardizing colors across figures, evaluating evidence strength, or deciding which validation tools to use.

Classify the Data

  • Use a sequential map for ordered values progressing from low to high.
  • Use a diverging map only when a meaningful reference value separates two directions, such as zero, an anomaly, or a target. Place the visual midpoint at that value.
  • Use a cyclic map for periodic values whose endpoints are equivalent, such as phase, angle, time of day, or orientation.
  • Use categorical colors for unordered groups. Do not imply magnitude through a continuous gradient.
  • Use a discrete form of the appropriate ordered map when values are binned. Keep bin boundaries explicit.

Do not choose a diverging map merely because the data contain positive and negative values; require a meaningful center. Do not choose a categorical palette for continuous measurements.

Decide Whether Hue Carries Meaning

Do not interpret “different values need different colors” as permission to assign unrelated hues. First identify the role of color:

  • When position, length, height, area, or text already carries the value, treat color as redundant reinforcement. Prefer one fixed hue with monotonic lightness or saturation. Keep zero, missing, disabled, and out-of-domain states visually separate.
  • When color is the primary quantitative channel in a dense heatmap, image, map, or scalar field, allow a documented perceptually uniform sequential map to vary in hue if its lightness remains ordered and its transitions do not create false boundaries.
  • Use distinct categorical hues only for genuinely unordered identities or states.
  • Use discrete threshold hues only when thresholds define real named business or scientific states. Label the thresholds; otherwise retain a continuous sequential scale.
  • Use opposing hues only for a diverging variable with a meaningful center.
  • Use cyclic hue progression only for periodic variables whose endpoints are equivalent.

For compact probability bars, progress bars, meters, ranked bars, and sparklines, default to a single-hue ordered ramp when bar height or length already expresses magnitude. Do not map arbitrary low, medium, and high bands to blue, amber, and green unless those bands are established operational states with documented thresholds and actions.

Respect Evidence Scope

  • Give direct scientific-visualization evidence priority for quantitative encoding decisions.
  • Use product, marketing, and object-perception studies only to identify possible salience, weight, size, or stability biases. Do not turn them into universal hue rankings or quantitative palette prescriptions.
  • Keep decorative and editorial goals separate from data encoding. A color treatment that makes a cover, card, or product feel stable can still bias a chart.
  • Avoid directional decorative gradients inside bars, areas, nodes, and other quantitative marks. A bottom-dark/top-light gradient can alter perceived weight or stability independently of the encoded value.
  • Do not state that warm colors are always heavier, red is always heaviest, or yellow is always lightest. Lightness, saturation, area, position, background, culture, and task interact.

Preserve Semantic Consistency

  • Keep the same entity, category, state, and reference value mapped to the same color across related figures.
  • Maintain a palette registry when a report, dashboard, paper, or product contains multiple views.
  • Do not reuse one color for incompatible meanings such as “high risk” in one figure and an ordinary category in another.
  • Record palette name and version, exact samples, normalization, limits, center, missing-data treatment, and background when reproducibility matters.

Preserve Data Meaning

  • Prefer palettes with approximately uniform perceptual change along the scale and a monotonic lightness path where the class permits it.
  • Prefer the least complex color encoding that preserves the intended comparison. Adding hue is not automatically more informative.
  • Avoid rainbow, jet, and rainbow-like scales, including turbo, for quantitative scientific data. Their uneven lightness and color transitions can invent boundaries, hide variation, and overemphasize arbitrary ranges.
  • Avoid red-green encoding at similar lightness. Never rely on hue alone for critical distinctions.
  • Keep palette sampling uniform. Do not squeeze, stretch, splice, or reorder sections of a validated palette.
  • Use nonlinear normalization only when justified by the data or task. Label it explicitly and ensure the color bar uses the same transformation.
  • Set limits from a defensible rule. Disclose clipping, saturation, winsorization, logarithmic transforms, and asymmetric ranges.
  • Keep a visible, labeled color bar for continuous or ordered color encodings unless values are directly labeled.
  • Account for the final background, neighboring marks, interpolation, transparency, and print conditions.

Prefer Trusted Palette Families

Start with maintained, documented families rather than inventing a palette:

  • Matplotlib perceptually uniform maps: viridis, cividis, magma, inferno, plasma.
  • Fabio Crameri Scientific Colour Maps: sequential, diverging, cyclic, discrete, and categorical options with diagnostics and versioned releases.
  • cmocean: parameter-oriented sequential, diverging, and cyclic maps.
  • ColorBrewer: especially useful for discrete sequential, diverging, and qualitative maps.
  • CET palettes: broad coverage, but verify the specific palette because quality varies across the collection.

Match the palette to the data semantics; a reputable palette from the wrong class is still misleading.

For unordered categories, consider an established color-universal-design palette such as Okabe-Ito as a starting point, then validate it at the actual mark size and background. Do not treat any categorical palette as universally safe.

Use the Bundled Audit Tool

Run scripts/audit_palette.py when exact palette samples are available:

bash
python3 scripts/audit_palette.py audit --class sequential \
  '#b8e3dc' '#8dd2c7' '#62c0b1' '#36ad9a' '#1b9283'

Discover usage incrementally with python3 scripts/audit_palette.py and python3 scripts/audit_palette.py audit --help. Use --format json for stable machine-readable output, --stdin in pipelines, and --warnings-as-errors for CI-style screening. Treat the report as a screening diagnostic, not certification: it measures CIELAB lightness, CIE76 color differences, grayscale spacing, and class-specific structural checks, but it does not model viewing environment, simultaneous contrast, or color-vision deficiency.

Validate Before Delivery

Perform checks on the rendered output, not only on palette swatches:

  • Convert to grayscale and confirm ordering, extrema, and important structures remain legible.
  • Simulate deuteranopia, protanopia, and tritanopia when tools permit.
  • Check that equal data steps do not produce conspicuously unequal visual steps.
  • Check whether every hue transition has a data-semantic or perceptual justification. Remove hue changes that merely decorate an already encoded magnitude.
  • Check that the most visually salient point corresponds to a meaningful value rather than an accidental bright band.
  • Confirm that the center, endpoints, limits, ticks, units, and missing-data color are unambiguous.
  • Check legends and annotations independently; accessibility of the continuous map does not guarantee accessibility of every overlay.

When only a raster image is available, label findings as visual heuristics. Do not claim perceptual uniformity has been measured unless the palette samples or source code are available for analysis in a perceptual color space.

Deliver Actionable Results

When creating a visualization, state the selected map class, palette name, normalization, limits, center if any, missing-data treatment, and validation performed. When auditing, distinguish:

  • definite defects visible in the artifact,
  • likely risks that require source data or palette samples to verify,
  • concrete replacements and code-level changes.

Preserve the user's plotting library and visual conventions unless they conflict with accurate representation or accessibility.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Scientific Color Maps AI skill do?

Select, implement, and audit scientifically accurate, perceptually uniform, and color-vision-accessible color maps for data visualization. Use when creating or reviewing plots, heatmaps, maps, scalar fields, probability bars, progress indicators, scientific figures, dashboards, or visualization code; when choosing a palette or deciding whether hue changes carry real meaning; when replacing rainbow, jet, turbo, arbitrary low-medium-high colors, or red-green scales; or when checking grayscale readability, color blindness, color bars, normalization, and possible visual distortion. Also trigger...

Why use Scientific Color Maps on TypingMind?

Because you install it once and use it with any model. Scientific Color Maps is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Scientific Color Maps in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/DoiiarX/claude-skills/tree/main/scientific-color-maps. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Scientific Color Maps?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Scientific Color Maps?

As many as you like. As long as a model supports skills, you can use Scientific Color Maps with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Scientific Color Maps AI skill free?

It is published on GitHub by DoiiarX. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇