WebMCP Registry

color_converter

verifiedv0.1

Converts a CSS color between hex, rgb, hsl, oklch and lab in the browser. Pass input (1–200 chars) and optional preserveAlpha. Variant URLs are not a second machine Tool — pass the color string explicitly. Do not use this to generate placeholder copy (that is lorem_ipsum) or to format JSON (that is json_formatter).

Updated 9/3/2026 · Created 9/3/2026

Input Schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "input"
  ],
  "properties": {
    "input": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1
    },
    "defaultInput": {
      "enum": [
        "hex",
        "rgb",
        "hsl",
        "oklch",
        "lab"
      ],
      "type": "string",
      "default": "hex"
    },
    "preserveAlpha": {
      "type": "boolean",
      "default": true
    }
  },
  "additionalProperties": false
}

Full Contract

{
  "name": "color_converter",
  "description": "Converts a CSS color between hex, rgb, hsl, oklch and lab in the browser. Pass input (1–200 chars) and optional preserveAlpha. Variant URLs are not a second machine Tool — pass the color string explicitly. Do not use this to generate placeholder copy (that is lorem_ipsum) or to format JSON (that is json_formatter).",
  "inputSchema": {
    "type": "object",
    "$schema": "http://json-schema.org/draft-07/schema#",
    "required": [
      "input"
    ],
    "properties": {
      "input": {
        "type": "string",
        "maxLength": 200,
        "minLength": 1
      },
      "defaultInput": {
        "enum": [
          "hex",
          "rgb",
          "hsl",
          "oklch",
          "lab"
        ],
        "type": "string",
        "default": "hex"
      },
      "preserveAlpha": {
        "type": "boolean",
        "default": true
      }
    },
    "additionalProperties": false
  }
}

GET /api/tool/simpletoolstack.com/color_converter