If the epoxy resin is not painted afterwards, but colored before casting, it actually always remains a little bit transparent. If a preferably transparent coloring should be explicitly desired, appropriate color pastes can be used for this purpose. You can also experiment with colors such as airbrush ink or printer ink for this purpose, in order to achieve relatively transparent results with a very small dosage.