Enter a color in any supported format — hex (#6366f1), RGB (rgb(99, 102, 241)), or HSL (hsl(239, 84%, 67%)) — and see all other representations instantly. Click any output to copy it. A live color swatch shows you the parsed result. To change the colors inside an SVG file, use the SVG Color Changer.
Transparent colors work too: type #6366f180, rgba(99, 102, 241, 0.5) or rgb(99 102 241 / 50%) and you get the 8-digit hex, rgba(), hsla(), the alpha as a byte and a percentage, and the same color in Android’s #AARRGGBB order. CSS puts the alpha pair last and Android puts it first, so for a 4- or 8-digit hex you can choose which way to read it. Why the two orders differ, and how to convert an opacity percentage to hex, is in 8-digit hex colors: CSS vs Android.