The location of the power button says this is a 2012 Unibody model rather than a 2012 Retina model. Still does not explain the silver bezel. That means display repairs, if needed, should be cheaper than for a Retina, although you will be shopping for used/pulled parts.
The random nature and the fact that it goes away with a restart suggest a heat issue. Heat issue can due to useless software (anti-virus; so-called "cleaning" apps), or to blocked cooling paths. The pre-Retina models appear to draw in some cooling air through the keyboard so it should not be used in "clamshell" (display closed) mode when an external monitor is attached. Hot air exhausts through the hinge area which is easily occluded by using the computer on a blanket or pillow instead of a hard flat surface.
Do you have an external monitor, or can you borrow one? That offers some level of diagnosis. If the image on the external is normal, that points to a defect in the display itself or the cabling. If it show up on the external, that strongly suggest failed graphics hardware.
In spite of another poster's mention of a graphics card, no Macbook Pro ever a "card." The video hardware is soldered to and integral with the logic board. Any issue with the gfx hardware means a new logic board.
That model had dual gfx. The discrete, or hi-power, graphics run when on wall power and the "on-processor" integrated gfx run when on battery. Usually it it the discrete side that fails.
The solution was to disable discrete graphics. This Apple article addresses the dual system:
Set graphics performance on MacBook Pro - Apple Support
and this archived discussion:
Disable discrete graphics card on Macbook… - Apple Community
is about a similar issue to yours and how to run on the more reliable integrated gfx alone.