Sometimes like the following one it is:
So I am making another game in HTML5 (and another backgammon game) and I am using canvas for making the board's background.
Here is the process:
First we fill the following image in canvas (which is a little bigger than that):

Then we use canvas API to draw the borders and the game's placeholders:
Sample code:
c.fillStyle = BORDER_FILLSTYLE;
c.strokeStyle = BORDER_STROKESTYLE;
//up
c.fillRect(0,0, width, BORDER_SIZE);
// left side
c.fillRect(0,BORDER_SIZE, BORDER_SIZE, height-BORDER_SIZE*2);
c.fillRect(BORDER_SIZE, BORDER_SIZE+(6*PIONE_WIDTH), PIONE_WIDTH, 2*BORDER_SIZE);
c.fillRect(BORDER_SIZE+PIONE_WIDTH,BORDER_SIZE, BORDER_SIZE, height-BORDER_SIZE*2);
//down
c.fillRect(0,height-BORDER_SIZE, width, BORDER_SIZE);
c.fillRect(width-BORDER_SIZE,BORDER_SIZE, BORDER_SIZE, height-BORDER_SIZE*2);
...
// triangles
c.fillStyle = TRIANGLE_FILLSTYLE;
var i, x = BORDER_SIZE*2+PIONE_WIDTH, y = BORDER_SIZE, yplus = PIONE_WIDTH*5+(PIONE_WIDTH/3)*2;
for (i = 0;i < 6;i++) {
c.moveTo(x, y);
c.lineTo(x+(PIONE_WIDTH/2), y + yplus);
c.lineTo(x+PIONE_WIDTH, y);
c.lineTo(x, y);
x += PIONE_WIDTH;
}
c.fill();
...
And we have the background:
Also in order to have pawns of multiple colors we use the following textured png (easy to make it in Gimp):

And we can apply any color we want on it with some transparency. Here is the result:
Next thing to do is dices:)





Blocksum