इस टूल में कोई समस्या है?
«HEX से RGB कन्वर्टर ऑनलाइन» के बारे में
यह टूल हेक्साडेसिमल रंग कोड (#FF5733) को RGB नोटेशन (rgb(255, 87, 51)) में और वापस परिवर्तित करता है।
कनवर्टर 6-अंक हेक्स, 3-अंक शॉर्टहैंड और 8-अंक हेक्स को संभालता है।
टूल्स के बीच डिज़ाइन पोर्ट करते समय उपयोगी।
इस टूल का उपयोग कैसे करें
How to convert a hex color to RGB
Enter the hex code
Drop the hex value into the "Hex (#RGB or #RRGGBB)" field. The leading `#` is optional and case doesn't matter — `#FF00aa` and `ff00aa` work equally.
Shorthand 3-digit expansion
Three-digit hex is auto-expanded by doubling each digit: `#abc` becomes `#aabbcc` before parsing. Any length other than 3 or 6 valid hex digits is rejected with a clear error.
Press Run
Result returns `r`, `g`, `b` (each 0–255), `rgbCss` (the ready-to-paste `rgb(r, g, b)` string), and `hex` (the normalised lowercase 6-digit form).
Use the rgbCss field directly
rgbCss is formatted exactly how browsers expect it in inline styles. Copy it into your stylesheet, design tool, or component prop with no extra editing.