मुफ्त Hex से RGB कनवर्टर
Hex रंग कोड को RGB मान में बदलें। हेक्साडेसिमल रंग कोड से Red, Green, Blue मान निकालें।
Red (R)
59
Green (G)126
Blue (B)246
सूत्र
Hex to RGB Conversion
A hex color like #3B82F6 has a numeric value of 3,899,126.
Extracting Components
Example: 3899126
हल किया गया उदाहरण
Convert hex value 3899126 (#3B82F6) to RGB.
- 01R = floor(3899126 / 65536) = 59
- 02G = floor((3899126 mod 65536) / 256) = 130
- 03B = 3899126 mod 256 = 246
- 04Result: rgb(59, 130, 246)
अक्सर पूछे जाने वाले प्रश्न
How do I enter a hex color?
Enter the numeric equivalent of the hex code. For #3B82F6: 3B=59, 82=130, F6=246. The number is 59*65536 + 130*256 + 246 = 3,899,126.
What are common hex colors?
White = 16777215 (#FFFFFF), Black = 0 (#000000), Red = 16711680 (#FF0000), Green = 65280 (#00FF00), Blue = 255 (#0000FF).
सीखें