Colors appear dark in 2D game rendering

Hi, I’m creating a 2D game but the colors appear darker in the render compared to the viewport. How can I fix this?

I want to see the colors like in the viewport when I run the game.