Enter a HEX code or set the RGB channels — both stay in sync, plus HSL and a color preview. Everything runs in your browser.
A HEX color code like #3B82F6 is converted to RGB by reading each pair of digits as a hexadecimal number for red, green and blue (0–255): #3B82F6 = rgb(59, 130, 246). With Forge12's tool it works live and both ways — including HSL output and a color preview, entirely in your browser.
HEX is the web notation (#RRGGBB) where each color component is a two-digit hexadecimal number. RGB expresses the same color as three decimal values from 0 to 255 — handy for CSS, design tools and graphics software.
HSL (hue, saturation, lightness) describes the color more intuitively: hue as an angle (0–360°), saturation and lightness in percent. For small tweaks (lighter, more saturated) HSL is often nicer than HEX.
Split the HEX code into three pairs: #RR GG BB. Each pair is a hexadecimal number from 00 to FF (0 to 255). Example: #3B82F6 becomes R=59, G=130, B=246, i.e. rgb(59, 130, 246).
Yes. A three-digit short form like #39F is doubled to #3399FF and then converted.
No. The conversion runs entirely in your browser. There's no server call and nothing is stored.
RGB mixes red, green and blue (each 0–255). HSL describes the color via hue (0–360°), saturation and lightness (each 0–100%) — more intuitive for tweaks. Both describe the same color.