Enter RGB Values
Input or choose RGB values
See Results
View HEX and other formats
Copy or Use
Copy, save, or reuse your color
Choose a color visually, use sliders, or paste a value.
Quick Presets
#FF6347
tomato
PreviewOriginal
rgb(255, 99, 71)
Lighten 20%
rgb(255, 130, 108)
Darken 20%
rgb(204, 79, 57)
Complementary
rgb(71, 227, 255)
Aa
With White Text
Aa
With Black Text
Other Formats
Color Palette
Did you know?
You can pick a color from your screen in browsers that support the EyeDropper API.
Hex is the canonical short form of an sRGB triple in CSS, design files, and API payloads. This tool takes red, green, and blue values from 0 to 255 (also accepting percentage notation in the input field) and emits the matching six-digit hex code. It is the format most teams ultimately commit into design tokens and stylesheets.
Floating-point channels are rounded to the nearest integer before formatting, and values are clamped into the 0 to 255 range to keep the resulting hex valid.
Need more notations? Open the Color Converter for HEX, RGB, HSL, LAB, OKLAB, and OKLCH, or use the Color Contrast Checker to validate foreground/background pairs before shipping.
No. Use the eight-digit #RRGGBBAA form directly in your stylesheet when alpha is required; the result here is six digits only.
They are rounded to the nearest integer before formatting and clamped into 0 to 255.
Yes. The input field accepts forms like 100%, 50%, 0% in addition to plain integers.