इस टूल में कोई समस्या है?

«RGBA से HEX कन्वर्टर ऑनलाइन» के बारे में

यह टूल RGBA रंग मानों को अल्फा के साथ 8-अंक हेक्स नोटेशन में परिवर्तित करता है।

8-अंक हेक्स कोड डिज़ाइन टोकन, थीम फ़ाइलों और CSS वेरिएबल में उपयोगी हैं।

रूपांतरण उन अल्फा मानों के लिए सटीक है जो 8-बिट के लिए साफ़ रूप से गोल होते हैं।

इस टूल का उपयोग कैसे करें

How to convert RGBA to a hex color (with alpha)

  1. Two ways to enter the colour

    Type/paste an RGBA string into "RGBA code" (e.g. `rgba(255,128,0,0.5)` or four numbers `200 180 90 0.25`), or set the R/G/B sliders plus the Alpha number. A non-empty "RGBA code" field overrides the sliders.

  2. Accepted RGBA string formats

    The parser handles `rgba(r, g, b, a)`, `rgb(r, g, b)` (alpha defaults to 1), and bare whitespace-separated tuples like `255 128 0 0.5`. Alpha can be a 0–1 float; opacity-percent strings are not parsed.

  3. Press Run

    Output returns `r`, `g`, `b` (0–255), `a` (0–1), `alphaByte` (0–255), `hex` (8-digit `#rrggbbaa`), `hexRgb` (6-digit without alpha), and `rgbaCss` (the ready-to-paste `rgba(r, g, b, a)` string).

  4. Alpha must stay 0–1

    Slider mode validates alpha as a number between 0 and 1 inclusive — anything else throws "Alpha must be a number from 0 to 1." Convert from 0–100 % first if you only have a percentage.