title: How to get hexcode based on the RGB values in iPhone(iOS)
body: <p>I have the values of RGBA (Red, Green, Blue, Alpha). I know that we can get the UIColor value based on these things by using </p>
  
  <p><code>UIColor *currentColor = [UIColor colorWithRed: 1 green:1 blue:0 alpha:1];</code></p>
  
  <p>But is there a way in which i can directly get the Hex code string of a color using the RGBA values in iOS.</p>