The color depends upon the diet (factors like food coloring used in the palette) and the health of your fish.
A healthy fish should have brown color poop, while white or yellowish poop might mean an infection or a digestive disorder.
Apart from color, the difference in shape and consistency can also indicate a problem.
Click Here To Learn How To Clean Fish Poop