UIlabel *label = [[UILabel alloc] init];
label.text = @"苍老是一段年华";
NSMutableAttributedString *attributed = [[NSMutableAttributedString alloc] initWithString:label.text];
NSRange range = NSMakeRange(2, 3);
[attributed addAttribute:NSForegroundColorAttributeName value:[UIColor colorWithRed:54/255.0f green:145/255.0f blue:83/255.0f alpha:1] range:range];
[label setAttributedText:attributed];