Make sure to stay within hexVal bounds