How to use
- Type a HEX code (#RGB, #RRGGBB or 8 digits) or use the picker.
- Choose how 8-digit codes are read: ARGB (iOS/Android) or RGBA (CSS).
- Copy the format you need.
Enter a HEX code or pick a color. Get values and ready-to-paste code for web, iOS and Android.
Runs entirely in your browser. Nothing you enter is sent or stored.
Android and many iOS helpers put alpha first (AARRGGBB). CSS puts alpha last (RRGGBBAA). Pick the order that matches where your code came from.
Brightness uses the YIQ formula (R×299 + G×587 + B×114) ÷ 1000. Above 0.5 the color is light, so dark text is suggested; otherwise white text.
Yes. #ABC expands to #AABBCC.