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.
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.
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.
modeConverter mode identifierinputFormatExpected input formatoutputFieldsGenerated color systemsexampleDefault conversion exampleuseCasesHuman and machine-use contextsrelatedEndpointsMachine-readable API linksStructured 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"
}