title: How to generate GIF 256 colors palette
body: <p>I need to create in C# a matrix of 16 X 16 clickable rectangles, then filling each rectangle with a color from a 256 colors palette (GIF).</p>
  
  <p>I just need help to create a simple class to generate 256 colors. </p>
  
  <p><a href="https://i.stack.imgur.com/vCpBh.png" rel="noreferrer"><img src="https://i.stack.imgur.com/vCpBh.png" alt="Palette of 256 colors"></a></p>