Use string manipulation for base color calculation.