Domain colouring using HMTL Canvas