Powder pigment is a better option than liquid pigment as it does not completely integrate with the epoxy and hardener. Since the pigment is not completely dissolved into the solution, the undissolved particles stay suspended in the solution.
This results in a beautiful optical illusion. If the consistency is not accurate, liquid pigments can also disturb the epoxy resin's consistency.