title: How to change UISlider background color with slide
body: <p>I want to change UISlider background color with slide like this</p>
  
  <p><img src="https://i.stack.imgur.com/1KOF7.png" alt="enter image description here"></p>
  
  <p>I have tried this code but it is not like this type view</p>
  
  <pre><code>@property (strong, nonatomic) IBOutlet UISlider *r;
  @property (strong, nonatomic) IBOutlet UISlider *g;
  @property (strong, nonatomic) IBOutlet UISlider *b;
  
  -(void)blueSlider:(UISlider*)slider {
      UIColor *newColor = [UIColor colorWithRed:_r.value green:_g.value blue:_b.value alpha:1];
     _b.backgroundColor=newColor;
  }
  
  -(void)greenSlider:(UISlider*)slider {
      UIColor *newColor = [UIColor colorWithRed:_r.value green:_g.value blue:_b.value alpha:1];
      _g.backgroundColor=newColor;
  }
  
  -(void)redSlider:(UISlider*)slider  {
      UIColor *newColor = [UIColor colorWithRed:_r.value green:_g.value blue:_b.value alpha:1];
     _r.backgroundColor=newColor;
  }
  </code></pre>
  
  <p>I want particular this look. </p>