Convert hexadecimal color codes to RGB values with instant color preview. Essential for web design and digital graphics.
Hexadecimal colors use 6 digits to represent RGB values:
Split HEX code into three pairs
Convert each pair from hex to decimal
Combine into RGB format
color: #FF0000;
background-color: rgb(255, 0, 0);
border-color: rgba(255, 0, 0, 0.5);
                    <div style="color: #FF0000">
<div style="background: rgb(255, 0, 0)">
                    element.style.color = '#FF0000';
element.style.backgroundColor = 'rgb(255, 0, 0)';
                    Red, Green, Blue - cannot be created by mixing other colors
RGB is additive color model - combining all colors gives white
Each RGB component ranges from 0 to 255 (0 to FF in hex)
                        English