Convert red, green, and blue channel values to a six-digit HEX color. Enter standard CSS rgb() syntax and copy the format you need.
Every RGB channel from 0 through 255 becomes a two-digit hexadecimal pair. The three pairs are joined after # in red, green, blue order.
The preview and converted values update as you type, and each format can be copied separately. HSL percentages are rounded to whole numbers, so converting a value back and forth can produce a small rounding difference. Alpha transparency is not included in the output.
Related color tools: Color Converter · HEX to RGB · RGB to HEX · Image Color Palette