ankit-rawani

Hueshift — Development skill for Claude Code

Development community

A color palette tool paired with an MCP server.

How to install Hueshift

This entry records only its repository, not the path inside it, so there is no exact command to give. Open ankit-rawani/hueshift and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Hueshift does

A color palette tool paired with an MCP server. Users can generate modern (OKLCH-based) palettes from a reference image or a base hex color and either use them on the website or pipe them directly into Claude Code, Cursor, Windsurf, or any MCP-compatible coding agent as ready-to-paste Tailwind v4 tokens, CSS variables, or design-token JSON.

Alternatives in Development

  • Agent Of Empires — Manage multiple Claude Code, OpenCode agents from either TUI or Web for easy access on mobile 3.1k ★
  • Axiom — Battle-tested Claude Code skills for modern xOS (iOS, iPadOS, watchOS, tvOS) development with 13 production-re 2.6k ★
  • SwiftUI Expert Skill — Modern SwiftUI best practices and iOS 26+ Liquid Glass adoption 2.3k ★

README

Hueshift

The color palette brain your coding agent plugs into.

A web-based color palette tool paired with a first-class MCP server. Generate accessible, OKLCH-based palettes from a hex color or image and pipe them directly into Claude Code, Cursor, Windsurf, or any MCP-compatible coding agent as ready-to-paste Tailwind v4 tokens, CSS variables, or design-token JSON.

Monorepo Structure

packages/types/          — Shared TypeScript types
packages/color-engine/   — OKLCH color engine (scale generation, harmony, contrast, semantic tokens, export, image extraction)
apps/web/                — Vite + React + Tailwind v4 web app
apps/mcp-server/         — MCP server (stdio transport)

Getting Started

pnpm install
pnpm dev          # starts the web app at http://localhost:5173

Web App Features

  • Hex input — enter a brand color, pick harmony type, get a full palette
  • Image input — drag-drop an image, extract dominant colors via k-means
  • Live preview — realistic UI mockup (dashboard card + buttons + tags) updates in real time
  • Light/Dark mode — auto-generated dark mode with contrast-preserving inversion
  • 6 export formats — Tailwind v4, CSS vars, SCSS, W3C design tokens, JSON, hex list
  • Contrast report — WCAG AA/AAA + APCA indicators on every fg/bg pair
  • Palette library — save up to 20 palettes to localStorage
  • Shareable URLs — palette data encoded in URL hash for sharing
  • Keyboard shortcuts — Space to regenerate, C to copy

MCP Server

Add to Claude Code:

claude mcp add hueshift -- npx tsx $(pwd)/apps/mcp-server/src/index.ts

Palettes are auto-saved to `~/.hueshift/palettes.json` for retrieval across sessions.

Available Tools

Tool Description
generate_palette_from_hex Generate a full OKLCH palette from a base hex color
generate_palette_from_image Extract colors from a local image file
generate_scale Generate an 11-shade scale (50-950) fro