Skip to main content
🟢 Beginner

HEX to RGB Átváltó

Használja a(z) HEX to RGB Átváltó eszközt gyors és pontos eredményekért.

↔ Swap

Hogyan használja ezt a számológépet

  1. Adja meg: HEX Color (e.g. #FF8000 or FF8000)
  2. Kattintson a Számít gombra
  3. Olvassa el a számológép alatt megjelenő eredményt

HEX to RGB Conversion

A HEX color code is a 6-character string (#RRGGBB) where each pair of digits represents a color channel in hexadecimal. To convert, parse each pair and convert from base 16 to decimal.

Examples:

3-Digit vs 6-Digit HEX

CSS also accepts 3-digit HEX codes (#RGB) as shorthand when each pair is a repeated digit. Example: #F80 expands to #FF8800. This converter handles both formats automatically.

Color in Design Tools

Design tools like Figma, Adobe XD, and Photoshop show HEX codes in their color pickers. Developers often need to convert these to RGB for use in JavaScript canvas operations, CSS filters, or programmatic color blending. RGB values make it easy to adjust brightness or mix colors mathematically.

Frequently Asked Questions

How do I convert HEX to RGB?

Split the 6-digit HEX into three pairs (RR, GG, BB) and convert each from base 16 to decimal. Example: #1A2B3C → R=26, G=43, B=60.

What is #FF5733 in RGB?

#FF5733 = rgb(255, 87, 51) — a shade of red-orange.

What is a valid HEX color code?

A valid HEX code is a # followed by 6 hexadecimal digits (0–9 and A–F). Example: #4A90E2. Shorthand 3-digit codes like #FFF are also valid.

Utolsó frissítés: March 2026