---
title: "Color Converter | Codemo Tools - Utilities toolkit for Developers, QA, and Testers"
description: "Convert between HEX, RGB, HSL, OKLCH, and HWB with one input."
canonical_url: "https://codemotools.dev/converters/color-converter"
meta:
  "og:description": "Convert between HEX, RGB, HSL, OKLCH, and HWB with one input."
  "og:image": "https://codemotools.dev/_og/d/c_Card.takumi%2Ctitle_Color%2BConverter%2Cdescription_~Q29udmVydCBiZXR3ZWVuIEhFWCwgUkdCLCBIU0wsIE9LTENILCBhbmQgSFdCIHdpdGggb25lIGlucHV0Lg%2Cp_Ii9jb252ZXJ0ZXJzL2NvbG9yLWNvbnZlcnRlciI%2Cs_Kpj8zPjY94znZtQ-.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Color Converter | Codemo Tools - Utilities toolkit for Developers, QA, and Testers"
  "twitter:image": "https://codemotools.dev/_og/d/c_Card.takumi%2Ctitle_Color%2BConverter%2Cdescription_~Q29udmVydCBiZXR3ZWVuIEhFWCwgUkdCLCBIU0wsIE9LTENILCBhbmQgSFdCIHdpdGggb25lIGlucHV0Lg%2Cp_Ii9jb252ZXJ0ZXJzL2NvbG9yLWNvbnZlcnRlciI%2Cs_Kpj8zPjY94znZtQ-.png"
---

> Index of every page on this site: [llms.txt](https://codemotools.dev/llms.txt)

**Converter**

# **Color Converter**

Convert color values between HEX, RGB, HSL, OKLCH, and HWB formats.

### **Color Converter**

Enter a color value in any format and see conversions.

**Color Format Tips**

- **HEX:** #RRGGBB or #RGB - #3b82f6
- **RGB:** rgb(r, g, b) - rgb(59, 130, 246)
- **HSL:** hsl(h s% l%) - hsl(217 91% 60%)
- **OKLCH:** oklch(l c h) - oklch(0.62 0.19 259)
- **HWB:** hwb(h w% b%) - hwb(217 23% 4%)
- or choose a color using the "Choose Color" below

**Color Value**

Enter a color to see converted results.

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://codemotools.dev/#website","@type":"WebSite","description":"Free utilities for developers, QA, and testers. Access fast generators, converters, cheat sheets, and essential tools for daily use","name":"Codemo Tools - Utilities toolkit for Developers, QA, and Testers","url":"https://codemotools.dev/","publisher":{"@id":"https://codemotools.dev/#identity"}},{"@id":"https://codemotools.dev/converters/color-converter#webpage","@type":"WebPage","description":"Convert between HEX, RGB, HSL, OKLCH, and HWB with one input.","name":"Color Converter","url":"https://codemotools.dev/converters/color-converter","isPartOf":{"@id":"https://codemotools.dev/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://codemotools.dev/converters/color-converter"]}]},{"@id":"https://codemotools.dev/#identity","description":"A collection of essential and free online tools for developers and QA engineers","email":"contact@codemo.dev","name":"codemo","url":"https://codemotools.dev","@type":["Organization","Person"],"address":{"@type":"PostalAddress","addressLocality":"Ho Chi Minh City","addressCountry":"Vietnam"},"knowsAbout":["Free tools","Development tools","Quality Assurance tools","Cheat sheets","Generators","Converters","Online tools"],"sameAs":["https://linkedin.com/in/phatdangg","https://codemo.dev","https://tools.codemo.dev"]}]}
```

## Sitemap

See the full [sitemap](https://codemotools.dev/sitemap.md) for all pages.
