title: Generate this image with PHP
body: <p>I want to generate this image in PHP with different colors for a skinning module in my app. How do I go about it?</p>
  
  <p>image(2x40 pixels):</p>
  
  <p><img src="https://i.stack.imgur.com/b3sjD.png" alt="alt text"></p>
  
  <p>magnified 4x</p>
  
  <p><img src="https://i.stack.imgur.com/2oxfE.png" alt="alt text"></p>
  
  <p>The original image was generated using the gradient tool in paint.net with base color 00137F. </p>