Added method to convert hex color to UIColor