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

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

यह टूल RGB रंग मानों (rgb(255, 87, 51)) को हेक्साडेसिमल नोटेशन (#FF5733) में परिवर्तित करता है।

हेक्स कोड CSS, HTML विशेषताओं, JSON थीम फ़ाइलों और पूरे वेब में रंग निर्दिष्ट करने का सबसे आम तरीका है।

कनवर्टर मानक rgb() और आधुनिक rgb(r g b / a) सिंटैक्स को स्वीकार करता है।

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

How to convert RGB to a hex color

  1. Two ways to enter the colour

    Either type/paste an RGB string into "RGB code" (e.g. `rgb(255,128,0)` or three numbers like `200 180 90`), or set the R, G, and B sliders directly. A non-empty "RGB code" field overrides the sliders.

  2. Accepted RGB string formats

    The parser handles `rgb(r, g, b)`, `rgba(r, g, b, a)` (alpha is read but discarded for this tool), and bare whitespace-separated triplets like `255 128 0`. Commas and parentheses are optional.

  3. Press Run

    Result returns `r`, `g`, `b` (each integer 0–255), `hex` (the 6-digit `#rrggbb` form), and `rgbCss` (the ready-to-paste `rgb(r, g, b)` string).

  4. Sliders for fine-tuning

    Defaults are 128/128/128 — neutral grey. Use the sliders to nudge channels one step at a time; pair this tool with hex-to-rgb-converter for a round-trip workflow.