1. Make a new RGB image. I used the dimensions of 288 x 288 in the example.
Click on Filter > Render > 3D Transform.
4. Now for the coloring part, Click on Image > Adjust > Hue and Saturation. Make sure the colorize box is checked. Choose the color you want.
And you are all done with it.