I need to get a raster layer from a vector layer using a tool called "Polygon to Raster". My problem is that when I use this tool, the polygon's colors are lost, and the raster obtained is randomly colored.
How do I keep the polygon colors from the initial layer?