ToolMint
โ† Back to home

Color Converter โ€” HEX, RGB & HSL with Visual Color Picker

Convert between HEX, RGB, and HSL color formats with a visual 2D color picker and hue slider. All three formats sync in real time โ€” type in any field and every other format updates instantly. Copy CSS-ready values for HEX, rgb(), or hsl() with one click.

Color Converter

Convert between HEX, RGB, and HSL.

Preview
#6C63FF
R
G
B
H
S
L
๐ŸŽจ

HEX

#RRGGBB and #RGB inputs supported.

๐Ÿงช

RGB

Great for CSS and UI work.

๐ŸŒˆ

HSL

Handy for hue and lightness tuning.

Included Color Converter Tools

HEX Color Input & Converter

Type or paste any 3- or 6-digit HEX color code and instantly see its RGB and HSL equivalents with a live color preview swatch.

RGB Color Input & Converter

Enter red, green, and blue channel values (0โ€“255) to convert to HEX and HSL. All three inputs sync in real time.

HSL Color Input & Converter

Enter hue (0โ€“360ยฐ), saturation (0โ€“100%), and lightness (0โ€“100%) to convert to HEX and RGB instantly.

Visual 2D Color Picker

Pick colors with a canvas-based 2D saturation/lightness picker and a separate hue slider โ€” all values update together automatically.

How to Use the Color Converter

1

Enter a color

Type a HEX code, adjust RGB sliders, set HSL values, or drag the 2D color picker to choose a color.

2

All formats update

HEX, RGB, and HSL all sync instantly โ€” every input syncs with every other input in real time.

3

Preview your color

A large live color swatch shows the current color so you can evaluate it visually before copying.

4

Copy CSS

Click any format's copy button to copy the CSS-ready value โ€” such as #1a2b3c, rgb(26, 43, 60), or hsl(210, 40%, 17%) โ€” to your clipboard.

Frequently Asked Questions

How do I convert a HEX color to RGB?
Type the HEX code (with or without #) into the HEX field. The RGB equivalent updates instantly. For example, #ff6347 = rgb(255, 99, 71). Each pair of hex digits represents a red, green, or blue channel 0โ€“255.
What is HSL and how is it different from RGB?
HSL stands for Hue, Saturation, Lightness. It is a human-readable color model: Hue is the base color (0โ€“360ยฐ), Saturation is color intensity (0โ€“100%), and Lightness is brightness (0โ€“100%). RGB uses raw red/green/blue channel values. CSS supports both.
Can I use the output directly in CSS?
Yes. Click the copy button next to any format to copy a CSS-ready string: the HEX value (e.g. #ff6347), the rgb() function (e.g. rgb(255, 99, 71)), or the hsl() function (e.g. hsl(9, 100%, 64%)).
Does the color picker work on mobile?
Yes. The 2D color picker canvas and hue slider support both mouse and touch events, so they work on mobile browsers and tablets as well as desktop.
What HEX formats are supported?
ToolMint's Color Converter accepts both 3-digit shorthand HEX (#abc) and 6-digit full HEX (#aabbcc). The # prefix is optional โ€” the converter normalizes 3-digit codes to 6-digit automatically.

๐Ÿ”ฅ Most Popular Tools

View all 64 โ†’
๐Ÿ“Š

Word Counter

Live word, character & reading time counter for any text.

๐Ÿ”ฅ Hot
%

Percentage Calculator

Find percentages, increases, decreases and differences.

โญ Popular
{ }

JSON Formatter

Beautify, validate and minify JSON with one click.

๐Ÿ”ฅ Hot
๐ŸŽ‚

Age Calculator

Exact age in years, months, days from your date of birth.

โญ Popular
๐Ÿ—œ๏ธ

Image Compressor

Compress PNG and JPG without noticeable quality loss.

โญ Popular
โš–๏ธ

BMI Calculator

Body Mass Index with metric and imperial support.

โœจ New
๐Ÿ“„

PDF Compressor

Reduce PDF size while keeping the best quality possible.

โญ Popular
๐Ÿงฉ

PDF Merger

Merge up to 25 PDFs and rearrange them before download.

โœจ New
โœ‚๏ธ

PDF Splitter

Split one PDF by range, fixed intervals, or selected pages.

โœจ New
๐Ÿ”„

Rotate PDF

Rotate PDF pages left or right with a live preview.

โœจ New
๐Ÿ–ผ๏ธ

Image to PDF

Combine up to 25 image files into a single PDF.

โœจ New
๐Ÿ“

Word to PDF

Convert DOCX files to PDF in your browser.

โœจ New
๐Ÿฆ

EMI Calculator

Monthly loan installments with full interest breakdown.

๐Ÿ”ฅ Hot
๐Ÿ”‘

Password Generator

Create strong, secure passwords with custom rules.

โœจ New
๐Ÿ”ค

Case Converter

Switch between UPPER, lower, Title and camelCase.

โญ Popular
๐Ÿ”

Base64 Encoder

Encode and decode Base64 strings instantly.

๐Ÿ”ฅ Hot
โœ๏ธ

Grammar Checker

Find and fix spelling, grammar & punctuation errors.

โœจ New