Hi Rik,
If I understand you correctly, you can colour objects in X3D using a bitmap texture. You only have to do this once for the whole lot of 3D objects. This texture can be created from the original image as long as it is the same size as the vector shapes you pasted into X3D. For example you could use that bitmap image you initially posted.