Exporting Models to Blender with Colours

I would like to export the model in the image in one mesh rather than having to export the white parts and the black parts separately with a texture in Blender.

So far, I have tried exporting the whole model but I do not get a texture image to colour the model with. When I open the .obj file in Blender there was no colour, entirely blank. Can anyone help me please?