title: draw custom shape and fill color upon specified value in php ci
body: <p>I want to draw a shape which looks like <a href="https://i.stack.imgur.com/apvGO.png" rel="nofollow noreferrer">a tank</a>. And and want to fill that tank with color depending upon some value. Just like battery of mobile. project in codeigniter. I have tried by using canvas, but color is filing complete box.
  Can somebody help?</p>