all hex definition