Skip to content
$TinyFreeTools
Tools
IMImage toolsImage compressor11PDPDF toolsMerge PDF11QRQR toolsQR code generator2COColor & CSS toolsColor converter7DEDeveloper toolsJSON formatter & validator14TEText toolsWord & character counter7COConverters & calculatorsAspect ratio calculator7DADate & time toolsWorld clock converter8
Images
Featured tools
  • IMImage compressorCompress JPEG, PNG, WebP, and AVIF images in batches toward a chosen file-size target.
  • IMImage resizerResize an image by pixels or choose 25%, 50%, 75%, or 100% while preserving its proportions.
  • IMImage format converterConvert JPEG, PNG, WebP, and AVIF images to WebP, JPEG, PNG, or AVIF when the selected encoder is supported.
Other Images tools
  • Image cropper
  • Rotate & flip image
  • Remove image metadata
  • Image watermark
  • Favicon generator
  • Social image resizer
  • EXIF metadata viewer
  • Blur or pixelate an image
All 11 Images tools
PDF
Featured tools
  • PDMerge PDFCombine multiple PDF files into one document in the order you choose.
  • PDSplit & extract PDF pagesExtract a page range or selected pages from a PDF into a new document.
  • PDImages to PDFPlace JPG or PNG images into a single PDF with automatic page sizing.
Other PDF tools
  • Organize PDF pages
  • Rotate PDF pages
  • Watermark PDF
  • Add PDF page numbers
  • Remove PDF metadata
  • Crop PDF
  • PDF to image
  • Compress PDF
All 11 PDF tools
QR
Featured tools
  • QRQR code generatorCreate QR codes for links, text, Wi-Fi, contacts, email, SMS, events, menus, and review pages.
Other QR tools
  • QR code scanner
All 2 QR tools
Color
Featured tools
  • COColor converterTranslate colors between HEX, RGB, HSL, HSV, and OKLCH values.
  • COWCAG contrast checkerMeasure the contrast ratio between text and background colors.
  • COColor palette generatorGenerate a coordinated palette from a base color using predictable color relationships.
Other Color tools
  • Image color picker
  • CSS gradient generator
  • CSS box-shadow generator
  • CSS filter generator
All 7 Color tools
Developer
Featured tools
  • DEJSON formatter & validatorValidate JSON, format it with readable indentation, or minify it for transport.
  • DERegex testerTest a JavaScript regular expression against sample text with flags and match details.
  • DEUUID generatorGenerate one or many cryptographically random version 4 UUIDs.
Other Developer tools
  • JSON diff
  • YAML ↔ JSON converter
  • CSV ↔ JSON converter
  • Base64 & URL encoder
  • JWT decoder
  • UTM campaign URL builder
  • Markdown preview
  • Number base converter
  • HTML entity encoder
  • Password generator
  • File checksum verifier
All 14 Developer tools
Text
Featured tools
  • TEWord & character counterCount words, characters, sentences, paragraphs, lines, and estimated reading time.
  • TECase converterConvert text to upper, lower, title, sentence, camel, Pascal, snake, or kebab case.
  • TEText difference checkerCompare two pieces of text line by line and highlight additions and removals.
Other Text tools
  • URL slug generator
  • Remove duplicate lines
  • Whitespace cleaner
  • Reading time calculator
All 7 Text tools
Convert
Featured tools
  • COAspect ratio calculatorCalculate a missing width or height while preserving an image or video ratio.
  • COPX ↔ REM converterConvert CSS pixel and rem values using a configurable root font size.
  • COData size converterConvert bytes across decimal KB/MB/GB and binary KiB/MiB/GiB units.
Other Convert tools
  • DPI & PPI calculator
  • Paper size converter
  • Recipe scaler
  • Cooking unit converter
All 7 Convert tools
Date & time
Featured tools
  • DAWorld clock converterSee the current time in cities worldwide, or convert a chosen time across time zones.
  • DAMeeting time plannerCompare a proposed meeting time across several world time zones.
  • DAUnix timestamp converterConvert Unix seconds or milliseconds to a readable date and back again.
Other Date & time tools
  • Date difference calculator
  • Date add subtract calculator
  • Business days calculator
  • Age calculator
  • Countdown timer
All 8 Date & time tools
EN
ENEnglishESEspañolFRFrançais
Guide · Color & CSS tools

How to convert HEX to RGB (and back)

Design handoffs arrive in hex, stylesheets mix rgb() and hsl(), and design tokens want one canonical form. Paste the color you have and read every notation at once — converted, rounded, and ready to copy.

Open the free color converter →Free · no signup · no watermarks

Step by step

01

Open the color converter

Start the free converter — nothing to install.

02

Paste your color

Enter a 3-, 4-, 6-, or 8-digit HEX code, or an rgb()/rgba() or hsl()/hsla() value.

03

Read every format at once

HEX, RGB, HSL, HSV, and OKLCH update together, with the alpha channel carried through.

04

Fine-tune if needed

Nudge the RGB controls to adjust the color and watch the other notations follow.

05

Copy what your project needs

Grab a single value or the ready-to-paste CSS custom-property declaration for your tokens file.

Tips that save a second try

↳
Tip 01

An 8-digit HEX like #14B8A680 carries transparency in the last two digits — the alpha survives every conversion.

↳
Tip 02

HSV and OKLCH are output-only: start from HEX, rgb(), or hsl() when pasting a color in.

↳
Tip 03

Copy from the original conversion rather than re-converting a rounded value — repeated round-trips can nudge a channel by one.

Common questions

Is #RRGGBB the same color as rgb()?

Yes. They are two notations for the same red, green, and blue channels — hex writes each channel as two hexadecimal digits, rgb() lists them as numbers from 0 to 255.

What are 4- and 8-digit HEX codes?

The extra digits encode the alpha channel: #RGBA and #RRGGBBAA are shorthand and full forms of a color with transparency, where FF is fully opaque.

Ready to do it? Color converter → · More color & css tools · All guides

$TinyFreeTools

Useful little tools that do the job and respect your files.

Private by design

Toolbox

ImagesPDFQRColorDeveloperTextConvertDate & time

About

About the projectSupportGuidesPrivacyTermsContact
© 2026 TinyFreeToolsYour files stay private — and the tools stay free.