Your agent, with an eye for color.

Add Hue42 to Claude Code, Cursor, Codex, Claude or ChatGPT. It builds palettes that pass their checks, writes them into your code, and makes posters in them. Free, with no account.

Not on Claude Code? Set it up in Cursor, Codex, Grok, Claude or ChatGPT.

One request, four ways

Your agent, with Hue42 added

We are running a reef fundraiser. Build the palette, check it, and make the posters.

  • read_paletteCerulean Surge, 5 of 5 checks
  • make_posterCoral Fans, “REEF”
  • make_posterTidal Ribbons, “LOW TIDE”
  • export_palettetailwind.config.js

Deep sea leads, chalk gives it air, and salmon pulls focus.

read_palette

Cerulean Surge

5 of 5
  • Pass:A readable pairBest text pairing is 13.5:1 (4.5:1 passes WCAG AA).
  • Pass:Light to dark rangeLightness spans 69 points of 100.
  • Pass:Every color distinctNo two colors are close enough to be confused.
  • Pass:Holds up colorblindColors stay distinguishable under common color vision types.
  • Pass:Room to breatheThere is a quiet color for surfaces and backgrounds.
Coral Fans poster reading REEF, in the Cerulean Surge paletteTidal Ribbons poster reading LOW TIDE, in the Cerulean Surge palette

Two calls to make_poster, in the palette it had just checked. Open either one to change the words or the colors.

Ask about color. Get numbers, not a guess.

A model on its own estimates contrast and invents shade ramps. With Hue42 it measures. These four answers are for the Reef night palette above.

check_contrast

Can this text sit on that color?

Reef night

Doors at seven. Bring a friend and something to share.

2.2:1

Fails for body textFails for large text

It answers with the nearest color that passes: #BE3E2A at 4.8:1.

color_shades

One color becomes eleven steps

From Deep Sea #06283D, light to dark, with the CSS variables to paste.

50
100
200
300
400
500
600
700
800
900
950

simulate_color_blindness

The same palette, through other eyes

As picked
Protanopia (Red-Blind)
Deuteranopia (Green-Blind)
Tritanopia (Blue-Blind)
Achromatopsia (Monochromacy)

export_palette

Written into your project

CSS, SCSS, Tailwind, JSON or SVG, named by the job each color does.

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        base: "#06283D",
        analog: "#1B9AAA",
        accent: "#FF7F6B",
        support: "#FFD6BA",
        tint: "#F6F1E9",
      },
    },
  },
};
  • build_palette

    “Five colors around the one I already have.”

  • palette_from_mood

    “Something calm. Something loud. Something earthy.”

  • fix_palette

    “Two of these are too close. Repair it and tell me what moved.”

  • name_color

    “What do I call #2B3A67 in the design doc?”

137 posters and patterns, in whatever colors you bring

Your agent can make any of them, save the picture into your project, or hand you the link to change it. Browse every one here.

Overprint, a type poster in 4 colors
“Open studio night. Loud, two inks and paper.”Overprint
Flower of Life, a sacred poster in 4 colors
“A solstice print in our brand navy and gold.”Flower of Life
Moroccan Lattice, a tiling poster in 4 colors
“Something for the riad's lobby. Tile, teal, saffron.”Moroccan Lattice
Lorenz Wings, a curves poster in 4 colors
“Cover art for the chaos theory reading group.”Lorenz Wings
Terrace City, a spatial poster in 5 colors
“A city poster in dusk colors for the hallway.”Terrace City
Eclipse, a type poster in 3 colors
“Record sleeve idea: one eclipse, three colors.”Eclipse
Seigaiha Waves, a tiling poster in 4 colors
“Wave pattern in indigo for the tea shop wall.”Seigaiha Waves
Penrose Field, a tiling poster in 5 colors
“A print for the maths department corridor.”Penrose Field
Bars, a type poster in 4 colors
“Launch poster, big bars, our green.”Bars
Golden Seed, a radial poster in 4 colors
“Sunflower spiral for the seed swap.”Golden Seed
Wire Globe, a spatial poster in 4 colors
“A globe for the travel desk, cool and quiet.”Wire Globe
Lotus Mandala, a sacred poster in 4 colors
“Yoga studio opening. Soft, warm, a little gold.”Lotus Mandala
Dragon Curve, a curves poster in 4 colors
“A fractal for hack night. Dark, one hot color.”Dragon Curve
Voxel Wave, a spatial poster in 5 colors
“Something sculptural for the architecture review.”Voxel Wave

Each of these started as the sentence under it. Through the connector a poster comes back as a picture 600 pixels wide with the hue42 mark, plus a link that opens it in the editor, where you can change it and save the full-size file.

Add it in a minute

One address for every assistant. Nothing to buy, nothing to sign in to, and your colors are not saved.

Connector URL

  1. Run the line in a terminal, once.
  2. Start Claude Code in your project and ask for a palette or a poster.

Menus move around, and custom connectors can be limited by your plan or workspace. If your screen differs, look for the option to add a custom connector or MCP server.

With a key

Your Hue42 account, inside your agent

The open connector works with colors you give it. Add a key and the same agent can reach what is already yours. Any Hue42 account can make one.

Checking sign-in.

  • Your saved palettes

    “Use our brand palette.” Your agent reads the palettes in your account instead of asking you for hex codes.

  • The palette library

    It searches every public Hue42 palette by words or by a color it should contain.

  • Posters saved to your account

    What your agent makes lands beside what you make yourself, ready to open in the editor. Saving is part of Pro.

https://hue42.com/mcp/account

The key goes in an Authorization header. It is stored only as a hash, so we cannot show it again; revoke it here at any time.

Your data

The connector receives the colors, words and options your assistant sends in each request, and works out the answer in that request. It does not store them, and it needs no account. A poster link holds the whole poster in the address itself. With an agent key, the keyed connector reads the palettes and posters saved in your own account, and saves a poster there when your agent asks it to; we store a hash of the key, when it was last used and how many calls it has made. Your IP address is used to limit how fast one address can call it. Read the full privacy policy.

Through the connector, palettes are built with up to five colors and exported as CSS, SCSS, Tailwind, JSON or SVG. Larger palettes and more export formats are part of Hue42 Pro.

All 13 tools, in the connector's own words
  • Build a palette from one color

    build_palette

    Builds a color palette around one color you give it, using a color harmony. The given color is kept exactly. Returns each color with Hue42's name and its role in the palette (base, anchor, tint, accent and so on), the five Hue42 checks with plain explanations, and a link that opens the palette in Hue42. The result can differ between calls. Builds up to 5 colors.

  • Build a palette from a mood

    palette_from_mood

    Builds a color palette in one of Hue42's six moods, optionally around a color you give it. Returns each color with its name and role, the five Hue42 checks, and a link that opens the palette in Hue42. The result can differ between calls. Builds up to 5 colors.

  • Check a palette

    read_palette

    Reads a palette you already have (2 to 10 colors) and runs the five Hue42 checks: a readable text pair, a clear light-to-dark range, every color distinct, holds up for color vision deficiency, and a quiet color to rest on. Returns each color's name and role, what each check measured, and a link that opens the palette in Hue42.

  • Fix a palette that fails checks

    fix_palette

    Repairs a palette (2 to 10 colors) that fails any of the five Hue42 checks, changing it as little as possible. It only moves colors lighter, darker or quieter (hues are never changed), never touches the base color or colors you lock, and lists every change in plain words. If the palette already passes, it says so and changes nothing.

  • Check text contrast (WCAG)

    check_contrast

    Measures the WCAG 2.x contrast ratio between a text color and a background color and reports whether it passes AA and AAA for normal and large text. If normal text fails AA, it also returns a lighter or darker version of the text color that reaches 4.5:1 on that background.

  • Name a color

    name_color

    Gives one color Hue42's name (the same naming the Hue42 tool uses) and its values in hex, RGB, HSL and OKLCH, plus a few other names that also fit.

  • Make a shade ramp

    color_shades

    Makes an eleven-step ramp (50, 100, 200 through 900, 950) of one color, from near-white to near-black. Steps are even in OKLCH lightness and the hue holds. Returns each step's hex and the ramp as CSS variables.

  • Export a palette as code

    export_palette

    Turns a palette (2 to 10 colors) into code, with each color named by its role in the palette (for example --color-base, --color-accent). Formats: css (custom properties), scss (variables), tailwind (theme colors), json, svg (a swatch strip). Returns the code and a link that opens the palette in Hue42.

  • Simulate color blindness

    simulate_color_blindness

    Shows how colors appear under protanopia (red-blind), deuteranopia (green-blind), tritanopia (blue-blind) and achromatopsia (no color), using a standard simulation matrix. With two or more colors it also lists the pairs that may be confused. A simulation is an approximation, not a medical test.

  • Plan where each color goes

    place_colors

    Works out how to use a set of colors together, in one call and without seeing them. Give 2 to 10 colors, or give a mood or a starting color (from) and the palette is built first. It then repairs twins (two colors that cannot be told apart under some kind of color vision, including none at all) by moving one of them to a shade of itself, and says which color moved and to what. Returns the final colors, a light scheme and a dark scheme (surface, body text, heading, link, button fill, button label, each with its measured contrast: body text and button label reach 4.5:1, or the slot names the shade that would), a two-ink version (the two colors to use when only two can be printed), and the contrast of every pair once. Contrast figures are WCAG measurements. Twins are found by a rule: a distance between the two colors after each kind of color vision is simulated (twin_rule states it), which is a close guide, not a measurement of what a person sees. This is the first call of any color job: it replaces read_palette, fix_palette and check_contrast for planning, and it is the tool that finds twins (the five checks do not). The colors returned go straight to make_campaign or make_poster.

  • Find Hue42 posters and their settings

    list_posters

    Finds Hue42 posters: type posters (lettering only) and pattern posters (a drawing with a title), grouped in families. You rarely need it: make_campaign finds posters by subject itself. Use it to choose a family or to read a poster's settings. Three steps, one call each: with nothing, the families and every poster id; with search (a word for what the poster shows, such as stairs, waves or rings) or family, the posters with their descriptions, grouped by family; with detail true and a family, a poster or a search, each poster's own settings (names, real ranges, defaults), sheets, typeface, and whether its title stays on one line. A set looks like one identity when its posters come from one family. The list is read from Hue42 when asked.

  • Make one poster

    make_poster

    Makes one Hue42 poster, right in one call. For a set of posters use make_campaign, not this tool several times. Give a poster id, 2 to 5 colors and the words. It draws the poster with each color as the ground and on each of its sheets, measures every one, and returns the first with nothing to fix: do not try grounds yourself. Read clean first. When it is false, each must_fix entry carries the one change that clears it, and alternatives lists posters that are clean with the same words and colors. Also returns the editor link, a picture link (PNG, 600 px wide, with the hue42 mark), same_family (other posters of the family that are clean and keep their own composition), the poster's page, the settings used, and a measured report that stands in for seeing the poster. The poster decides capitals and line breaks: report.title.lines is how the words were set. Text that does not fit is refused with the limit, never cut. The same input gives the same poster.

  • Make a set of posters as one identity

    make_campaign

    Makes a set of up to 6 posters in one call: a campaign, a series, one poster for each of several messages or sizes. Use this, not make_poster several times. Give the colors and, for each job, the words and a subject (what the poster should show). The whole set comes from ONE poster family, so it reads as one identity: the family whose posters best match the subjects and come out clean. It holds one system across the set (family, ground color, sheet) and returns it as system. Each job comes back with its measured report (ground, sheet, title and second line with contrast, how the drawing meets the title, the drawing colors, notes), so make_poster is not needed to read a job. Each poster keeps its own typeface and capitals, which are part of its design, unless font or letter is given. It returns for each job the poster, its links, its measured title and second line, only what differs from the system, and must_fix (empty when clean). No poster is used twice. Each poster is solved the way make_poster solves one. Give family to choose the family, or mix true to let a job leave it.