Chuyển đến công cụ chọn màu

MCP server của PickShade

Trao cho Claude, Cursor, VS Code và các trợ lý AI khác công cụ màu thực thụ: chuyển đổi chính xác, tương phản WCAG và APCA, bảng màu, thang màu 50–950, kiểm tra mù màu và design token dùng ngay. Chỉ một URL, không cần cài đặt.

URL server

https://pickshade.com/api/mcp

Kết nối trợ lý của bạn

Chạy trong terminal.

Claude Code

claude mcp add --transport http pickshade https://pickshade.com/api/mcp

Settings → Connectors → Add custom connector, rồi dán URL vào.

Claude và Claude Desktop

https://pickshade.com/api/mcp

Thêm vào .cursor/mcp.json.

Cursor

{
  "mcpServers": {
    "pickshade": {
      "url": "https://pickshade.com/api/mcp"
    }
  }
}

Thêm vào .vscode/mcp.json.

VS Code

{
  "servers": {
    "pickshade": {
      "type": "http",
      "url": "https://pickshade.com/api/mcp"
    }
  }
}

Thử hỏi

  • #6b7280 trên nền trắng có dễ đọc không? Nếu không thì sửa giúp tôi.
  • Tạo theme shadcn từ #6d4aff.
  • Cho tôi bảng màu tương đồng 5 màu quanh navy và xuất ra Tailwind v4.
  • Người mù màu deuteranopia có phân biệt được #e11d48 và #16a34a không?
  • Class Tailwind nào gần nhất với oklch(62% 0.21 260)?

Công cụ

  • parse_color

    Read any color and describe it: HEX, RGB, HSL and OKLCH values, the closest human name, the closest Tailwind class, its hue family, whether it fits sRGB and Display P3, and which text color, white or black, reads better on it.

  • convert_color

    Convert a color between formats: hex, rgb, hsl, hsv, hwb, cmyk, lab, lch, oklab, oklch, display-p3, rec2020, xyz and platform code (swiftui, uikit, flutter, android). Values follow CSS Color 4.

  • find_colors

    Search color names by words, like "sage", "dusty rose", "midnight blue" or "бордовый", and get their HEX values. Searches common names in English and Russian and about 30 000 extended color names. Use it to turn a description into real colors.

  • check_contrast

    Check text contrast against a background with both WCAG 2 (ratio, AA and AAA for normal and large text) and APCA (Lc value and the usage level it allows). Also suggests the nearest text color that passes AA and AAA while keeping its hue.

  • fix_contrast

    Find the closest color that reaches a contrast target by changing only OKLCH lightness, so the hue and character stay. Targets: aa (4.5:1), aa-large (3:1), aaa (7:1), apca-body (Lc 75), apca-content (Lc 60), apca-large (Lc 45). Adjust the text color or the background.

  • audit_palette

    Check every text and background pair in a palette with WCAG 2 and APCA, list which pairs are safe for body text, large text or only decoration, find colors that people with color blindness cannot tell apart, and flag colors outside sRGB. Use it before shipping a theme or chart palette.

  • check_gamut

    Check whether a color fits the sRGB, Display P3 and Rec. 2020 gamuts, and get the closest sRGB fallback that keeps lightness and hue (CSS Color 4 gamut mapping in OKLCH).

  • nearest_names

    Find the closest named colors, CSS color keywords and Tailwind CSS classes for a color, ranked by perceptual distance (deltaE OK).

  • compare_colors

    Compare two colors: CIEDE2000 and deltaE OK difference with a plain verdict (identical, nearly, similar, different, opposite), lightness shift in percent, chroma and hue shift, and the contrast between them.

  • generate_scale

    Build an 11-step tint and shade scale (50, 100 … 900, 950) from one color in OKLCH, the same shape as Tailwind palettes, with even perceived lightness steps.

  • tints_shades

    Get tints (mixed with white), shades (mixed with black) and tones (mixed with gray) of a color, evenly spaced, as HEX. Good for hover states, borders and backgrounds.

  • harmonies

    Get color harmonies for a base color, computed in OKLCH so lightness stays even: complementary, split-complementary, analogous, triadic, tetradic, square and monochromatic.

  • mix_colors

    Mix two colors at a ratio in a chosen color space, like CSS color-mix(). OKLab keeps the middle bright, sRGB tends to turn gray. Returns the result and a ready color-mix() expression.

  • make_gradient

    Build a CSS gradient from 2 or more colors with interpolation in OKLab, OKLCH or sRGB. Returns modern CSS with the color space, a fallback with precomputed stops for older browsers, and the stop colors. OKLab avoids the gray middle that sRGB gradients get.

  • generate_palette

    Generate a harmonious palette in OKLCH. Keep colors you already have, pick a style (auto, analogous, complementary, triadic, monochromatic, pastel, vivid, muted, dark) and pass a seed to get the same palette every time.

  • simulate_cvd

    Show how colors look with protanopia, deuteranopia, tritanopia and achromatopsia (Machado 2009 at full severity), and list the pairs that become hard to tell apart.

  • export_tokens

    Turn a list of colors into ready code: CSS custom properties, a Tailwind v4 @theme block, SCSS variables, JSON, W3C design tokens (DTCG), a JavaScript array or an SVG swatch strip. Unnamed colors get their closest color name.

  • build_system

    Build a full color system from a brand color: 50–950 scales for primary, secondary, accent, neutral and status colors, light and dark theme roles, exported as a Tailwind v4 theme, CSS variables, shadcn/ui globals.css or DTCG tokens, with a contrast audit of text and surface pairs.

Thích HTTP thuần hơn? Dùng REST API

Hỏi đáp

MCP server là gì?

MCP (Model Context Protocol) cho phép trợ lý AI gọi công cụ bên ngoài. Khi kết nối server này, trợ lý của bạn tính màu bằng công thức chính xác thay vì đoán.

Có miễn phí và riêng tư không?

Có. Server miễn phí, không cần tài khoản, mọi lệnh gọi được tính ngay tức thì. Màu bạn gửi không được lưu lại.

Server dùng transport nào?

Streamable HTTP ở chế độ stateless, được các MCP client hiện nay hỗ trợ. Mọi công cụ đều chỉ đọc và cho kết quả xác định, trừ generate_palette khi không có seed.