Convert 3, 4, 6 or 8-digit HEX colors to RGB or RGBA values with a live color preview.
How HEX converts to RGB
Each two-character HEX pair represents one red, green or blue channel from 00 to FF, which maps to decimal values from 0 to 255. Three-digit shorthand doubles each digit. Four- and eight-digit HEX values include an alpha channel.
Privacy
The conversion and preview run entirely in your browser. No color value is uploaded.