Convert int to hex color