We can use `[a-f0-9]{6}` to avoid repeating the set six times.