Applying colors to nested strings.