added highlight function for directly passing integer representation of hex