Permalink
Browse files

Add H,S,B labels

  • Loading branch information...
1 parent 20269f4 commit b262bf23e67db09761ad08b1970fbcc2b2496ad0 @lavoy committed Oct 8, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 NavBarColorChooser/LCViewController.m
@@ -109,9 +109,9 @@ - (void)updateTintColor {
CGFloat sValue = self.sSlider.value;
CGFloat bValue = self.bSlider.value;
- self.hLabel.text = [NSString stringWithFormat:@"%1.0f", hValue];
- self.sLabel.text = [NSString stringWithFormat:@"%1.2f", sValue];
- self.bLabel.text = [NSString stringWithFormat:@"%1.2f", bValue];
+ 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];
UIColor *color = [UIColor colorWithHue:hValue / 360.0
saturation:sValue

0 comments on commit b262bf2

Please sign in to comment.