MMA is a liquid that polymerizes (makes a solid plastic) with light
https://en.wikipedia.org/wiki/Methyl_methacrylateit is slightly toxic but the polymer isn't. The MMA vapour irritates the eyes.
I proposed to harden MMA selectively, them keep only the cured places, because I don't know a convenient transparent material getting a colour upon exposition. You want to print a layer buried in a sandwich: would it be possible to pattern the colour layer when it is naked at the surface, and finish the sandwich later by adding the top layers?
Maybe other people here know some compound that gets coloured upon laser exposition, but I fear that sunlight exposition will colour the whole layer over time. Same difficulty if reacting to heat brought by the laser.
Sure some compounds darken to light, beginning with the silver salts that were used for photography. But after exposure, you must possibly reveal them, and for sure use some fixative to suppress the sensitivity to light. How to do that if the sensitive layer is buried in a sandwich?
In the MMA route, many pigments would work, beginning with carbon black for black colour. These pigments would not react to laser exposition: they would be removed together with the MMA where it hasn't been polymerized by light. The proportion of pigment in MMA must allow it to harden at depth, hence receive a little bit of light, while looking dark.
And how thin shall the colored layer be?