title: Create Color Variations From Main Color
body: <p>I have a main color in Flutter, <code>Color(0xFF6E8898)</code>, and what I want to do is create variations or shades from that color. For example here is a chart with different variations of one main color:</p>
  
  <p><a href="https://i.stack.imgur.com/CXNFW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CXNFW.png" alt="Pie Chart With Variations"></a></p>
  
  <p>Right now, I have one color, but I don't know how to create different shades or variations from it. Current Picture:</p>
  
  <p><a href="https://i.stack.imgur.com/irS7R.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/irS7R.png" alt="Pie Chart With Single Color"></a></p>
  
  <p>Thanks for any help.</p>
  
  <hr>
  
  <p><strong>Note:</strong> I don't think it matters, but just in case <a href="https://pub.dev/packages/charts_flutter#-readme-tab-" rel="nofollow noreferrer"><code>charts_flutter</code></a> has a method for this I am using the <code>charts_flutter</code> library to generate my charts</p>