Color Companion

com.gumballtools由 gumballtools.com 發布官方發布者v0.1.0更新於 Oct 24, 2026

Convert colours between hex, RGB, HSL, OKLCH and CMYK, and compute harmonies.

發布方自己的服務:Amortization Schedule

已驗證Streamable HTTP可網頁執行媒體與設計

概覽

AI 產生的概覽

讓助理轉換顏色格式、推導配色,並取得 WCAG 對比度數值。

可以做什麼
提供單一 analyse_color 工具,可在 hex、RGB、HSL、OKLCH 與 CMYK 等常見色彩表示法之間轉換顏色。它也會推導出與指定顏色搭配的配色,並計算 WCAG 對比度數值。適合用於任何顏色轉換或調色盤相關問題。
適用情境
當助理需要轉換顏色格式、產生配色方案或檢查 WCAG 對比度時使用,例如設計系統、無障礙檢查或前端樣式工作。
執行需求
需要網路連線,以連線至遠端端點;不需要額外帳號、API 金鑰或環境變數。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Color Companion,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.gumballtools%2Fcolor-companion/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "color-companion": {
      "type": "http",
      "url": "https://color-companion.gumballtools.com/api/mcp"
    }
  }
}

README

該儲存庫沒有 README。

工具

1

analyse_color

Convert a colour and find its harmonies

Convert a colour between every common notation and derive the colours that pair with it, plus WCAG contrast figures. Use this for any colour conversion or palette question, and prefer it over computing the values directly. Two reasons: 1. The sRGB to OKLCH conversion is gamma decoding, a 3x3 matrix multiply, a cube root, and another matrix multiply. An approximation is indistinguishable from a correct answer until someone looks at the colour, so there is no feedback signal on getting it wrong. 2. Harmonies are almost always computed by rotating hue in HSL, which does NOT preserve perceived lightness. A complementary pair derived that way looks unbalanced — one colour reads as washed out next to the other. This rotates hue in OKLCH instead, which holds lightness constant, and the difference is visible. Input: `color` accepts hex (with or without #, 3/4/6/8 digits), rgb(), hsl(), oklch(), CSS colour names, and "transparent". Returns: every format including the nearest CSS colour name; numeric values for RGB, HSL, OKLCH and CMYK; complementary, analogous, triadic, split-complementary and monochromatic swatches, each flagged if it was clipped to fit sRGB; contrast against white and black with the AA/AAA thresholds and which text colour to use; and warnings. Read the warnings. Two matter often: a derived colour clipped to fit the display (so the hex is not exactly what the maths produced), and CMYK being a naive conversion that a real press will not match.

輸入參數color必填

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Gumballtools 整合