Nothing is uploaded. Just open it and start.
A CSS hex colour: # followed by 3, 4, 6 or 8 hex digits (the 4- and 8-digit forms include transparency).
/^#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/^the start of the text#the character “#”(?:a group (not captured)[0-9a-fA-F]{3,4}one of 0–9, a–f, A–F, repeated between 3 and 4 times, as many as possible|or[0-9a-fA-F]{6}one of 0–9, a–f, A–F, repeated exactly 6 times, as many as possible|or[0-9a-fA-F]{8}one of 0–9, a–f, A–F, repeated exactly 8 times, as many as possible)end of the group$the end of the text| Text | Result |
|---|---|
| #fff | Matches |
| #1E88E5 | Matches |
| #1e88e580 | Matches |
| #abcd | Matches |
| fff | Doesn't match |
| #ggg | Doesn't match |
| #12345 | Doesn't match |
| #1234567 | Doesn't match |
Found something broken, have an idea, or just want to say thanks about any of our tools? Every message reaches a real person.