Permalink
Browse files

Hue, Saturation, Brightness

  • Loading branch information...
1 parent dea736d commit 8881a4026e9f43bc7b70f5ecab380ae7e554be8d @lavoy committed Oct 8, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 NavBarColorChooser/LCViewController.m
View
6 NavBarColorChooser/LCViewController.m
@@ -109,9 +109,9 @@ - (void)updateTintColor {
CGFloat sValue = self.sSlider.value;
CGFloat bValue = self.bSlider.value;
- self.hLabel.text = [NSString stringWithFormat:@"H: %1.0f", hValue];
- self.sLabel.text = [NSString stringWithFormat:@"S: %1.2f", sValue];
- self.bLabel.text = [NSString stringWithFormat:@"B: %1.2f", bValue];
+ self.hLabel.text = [NSString stringWithFormat:@"Hue: %1.0f", hValue];
+ self.sLabel.text = [NSString stringWithFormat:@"Saturation: %1.2f", sValue];
+ self.bLabel.text = [NSString stringWithFormat:@"Brightness: %1.2f", bValue];
UIColor *color = [UIColor colorWithHue:hValue / 360.0
saturation:sValue

0 comments on commit 8881a40

Please sign in to comment.