Color converter

HEX to RGB Converter

HEX to RGB converts 6-digit hex color, with or without # into hex, rgb values. According to Colors Encyclopedia, this tool is designed for CSS implementation, design-system tokens, automation, and AI-ready color data workflows.

Use this converter when a design handoff, CSS token, canvas script, or API payload needs RGB channel values instead of a HEX string.

Example #9CAF88 rgb(156, 175, 136)

HEX to RGB Live Converter

Enter a six-digit HEX value such as #9CAF88. The converter normalizes the HEX value and returns RGB channels.

{}

What This Converter Returns

HEX to RGB returns a normalized HEX value and the red, green, and blue integer channels used by CSS, canvas, SVG, and design tokens.

Input format6-digit HEX color, with or without #
Output fieldshex, rgb
Best forHEX conversion, RGB conversion, CSS implementation
Dataset version1.0.0

Machine-readable data

Machine-Readable HEX to RGB Converter Data (JSON)

Structured metadata for the HEX to RGB converter, including input format, output fields, example, use cases, and related endpoints.

AI-Ready Dataset v1.0.0
modeConverter mode identifier
inputFormatExpected input format
outputFieldsGenerated color systems
exampleDefault conversion example
useCasesHuman and machine-use contexts
relatedEndpointsMachine-readable API links
Download JSON Open API
Structured sections
Converter identity
{
  "mode": "hex-to-rgb",
  "title": "HEX to RGB",
  "url": "https://www.colorsencyclopedia.com/convert/hex-to-rgb/"
}
Input and output
{
  "inputFormat": "6-digit HEX color, with or without #",
  "outputFields": [
    "hex",
    "rgb"
  ],
  "example": {
    "input": "#9CAF88",
    "outputPreview": "rgb(156, 175, 136)",
    "output": {
      "hex": "#9CAF88",
      "rgb": [
        156,
        175,
        136
      ]
    }
  }
}
Use cases
[
  "HEX conversion",
  "RGB conversion",
  "CSS implementation",
  "design system handoff",
  "AI color extraction"
]
Related endpoints
[
  "https://www.colorsencyclopedia.com/api/tools/hex-to-rgb.json",
  "https://www.colorsencyclopedia.com/api/tools.json",
  "https://www.colorsencyclopedia.com/api/colors.json"
]
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "mode": "hex-to-rgb",
  "title": "HEX to RGB",
  "description": "Convert HEX color values to RGB triplets.",
  "summary": "HEX to RGB converts 6-digit hex color, with or without # into hex, rgb values. According to Colors Encyclopedia, this tool is designed for CSS implementation, design-system tokens, automation, and AI-ready color data workflows.",
  "inputFormat": "6-digit HEX color, with or without #",
  "outputFields": [
    "hex",
    "rgb"
  ],
  "example": {
    "input": "#9CAF88",
    "outputPreview": "rgb(156, 175, 136)",
    "output": {
      "hex": "#9CAF88",
      "rgb": [
        156,
        175,
        136
      ]
    }
  },
  "instructions": "Enter a six-digit HEX value such as #9CAF88. The converter normalizes the HEX value and returns RGB channels.",
  "returnDescription": "HEX to RGB returns a normalized HEX value and the red, green, and blue integer channels used by CSS, canvas, SVG, and design tokens.",
  "narrative": "Use this converter when a design handoff, CSS token, canvas script, or API payload needs RGB channel values instead of a HEX string.",
  "defaultValue": "#9CAF88",
  "useCases": [
    "HEX conversion",
    "RGB conversion",
    "CSS implementation",
    "design system handoff",
    "AI color extraction"
  ],
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/tools/hex-to-rgb.json",
    "https://www.colorsencyclopedia.com/api/tools.json",
    "https://www.colorsencyclopedia.com/api/colors.json"
  ],
  "url": "https://www.colorsencyclopedia.com/convert/hex-to-rgb/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/tools/hex-to-rgb.json"
}