Added normalize_color method