title: Navigation bar background color - translucency is no
body: <p>I would like to change the background color of the navigation bar to a solid green.</p>
  
  <p>Rule: I can't mess with the AppDelegate :)</p>
  
  <p>I've tried: </p>
  
  <pre><code>//It's green but it's translucent 
  [self.navigationController.navigationBar setBackgroundColor:[UIColor colorWithRed:77/255.0 green:255/255.0 blue:100/255.0 alpha:1.0f]];
  
  //It's white, first line has no effect
  [self.navigationController.navigationBar setBackgroundColor:[UIColor colorWithRed:77/255.0 green:255/255.0 blue:100/255.0 alpha:1.0f]];
  [self.navigationController.navigationBar setTranslucent:NO];
  
  //Same result as case 1
  [self.navigationController.navigationBar setAlpha:0.0f];
  [self.navigationController.navigationBar setBackgroundColor:[UIColor colorWithRed:77/255.0 green:255/255.0 blue:100/255.0 alpha:1.0f]];
  
  //Too dark
  [self.navigationController.navigationBar setBarStyle:UIBarStyleBlackTranslucent];
  [self.navigationController.navigationBar setBackgroundColor:[UIColor colorWithRed:77/255.0 green:255/255.0 blue:100/255.0 alpha:1.0f]];
  
  //Only affects the back button's color:
  [self.navigationController.navigationBar setTintColor:[UIColor greenColor]];
  </code></pre>
  
  <p>So any ideas?</p>
  
  <p>Thank you, didn't see there was barTintColor and TintColor as well. Accepting earliest answer.</p>