adding class convert to Hexadecimal