Online bidirectional conversion between RGB values and hexadecimal color codes. Supports color picking, slider adjustment, color contrast check, color scheme generation, real-time preview, and auto-save history.
#2D8CF0
rgb(45, 140, 240)
hsl(210, 87%, 56%)
hsv(210, 81%, 94%)
AA Standard: Normal text ≥4.5:1, Large text ≥3:1
Click a button above to generate a color scheme
No history yet
| Color Sample | Color Name | RGB Value | HEX Code | Action |
|---|
Instant conversion between RGB and HEX color codes. Input and get results immediately. No waiting, real-time preview effects.
Supports number input, slider drag, color picker, and preset color library to meet different usage habits.
One-click copy of HEX, RGB, HSL, HSV and other color formats, compatible with various development scenarios.
Built-in WCAG standard contrast check to ensure text readability and meet accessibility design requirements.
One-click generation of complementary, triadic, analogous and other color schemes to inspire design creativity.
Automatically saves the last 20 colors used, accessible anytime, no more repeated searching.
All operations are completed locally in the browser, data is never uploaded, protecting your privacy and security.
RGB and HEX are the two most commonly used color representation methods in web design and frontend development. Understanding their differences and applicable scenarios can help you select colors and write code more efficiently.