इस टूल में कोई समस्या है?
«HEX से RGBA कन्वर्टर ऑनलाइन» के बारे में
यह टूल हेक्स रंग कोड को RGBA नोटेशन में परिवर्तित करता है, जहाँ A अल्फा चैनल है। हेक्स कोड पारदर्शिता शामिल नहीं करते।
RGBA नोटेशन अर्ध-पारदर्शी तत्वों को डिज़ाइन करते समय आवश्यक है।
UI स्थितियों को डिज़ाइन करते समय ब्रांड रंगों में पारदर्शिता जोड़ने के लिए इसका उपयोग करें।
इस टूल का उपयोग कैसे करें
How to convert a hex color (with optional alpha) to RGBA
Enter the hex value
Drop the hex value into the "Hex (#RGB … #RRGGBBAA)" field. Four lengths are supported: `#RGB`, `#RGBA`, `#RRGGBB`, `#RRGGBBAA` — the leading `#` is optional, case doesn't matter.
How alpha is parsed
If the hex includes alpha (4 or 8 digits) it's used; otherwise alpha defaults to 1 (fully opaque). The byte value is divided by 255 to get a 0–1 float, then trimmed to 4 decimal places.
Press Run
Output returns `r`, `g`, `b` (0–255), `a` (0–1 float), `alphaByte` (0–255), `hex` (8-digit normalised), `hexRgb` (6-digit, no alpha), and `rgbaCss` (the ready-to-paste `rgba(r, g, b, a)` string).
Use hex vs hexRgb appropriately
Use `hex` (8-digit) in CSS where 8-digit hex is supported. Use `hexRgb` when you need a legacy 6-digit hex plus a separate `opacity` or `rgba()` declaration.