title: UINavigationBar.appearance().tintColor vs. UIBarButtonItem foregroundColor
body: <p>I was using UIBarButtonItem appearance to set default font and colour. </p>
  
  <pre><code>UIBarButtonItem.appearance().setTitleTextAttributes([NSAttributedString.Key.foregroundColor: UIColor(red: 38/255, green: 110/255, blue: 174/255, alpha: 1)], for: .normal)
  </code></pre>
  
  <p>But because using of this breaks <strong>UIBarButtonItem.Style</strong> (e.g. .done is not bold) I had use <strong>UINavigationBar.appearance().tintColor</strong></p>
  
  <pre><code>UINavigationBar.appearance().tintColor = UIColor(red: 38/255, green: 110/255, blue: 174/255, alpha: 1)
  UINavigationBar.appearance().isTranslucent = false
  </code></pre>
  
  <p>And here comes the problem. Colours are different for these two approaches.</p>
  
  <p><strong>Colour using UIBarButtonItem appearance</strong></p>
  
  <p><a href="https://i.stack.imgur.com/kKTGC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kKTGC.png" alt="Colour using UIBarButtonItem appearance"></a> </p>
  
  <p><strong>Colour using UINavigationBar appearance tintColor</strong></p>
  
  <p><a href="https://i.stack.imgur.com/uRvPj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uRvPj.png" alt="Colour using UINavigationBar appearance tintColor"></a></p>
  
  <p><strong>Question:</strong> How to get correct colour representation?</p>