imac screen has colored vertical lines
iMac, macOS Sierra (10.12), iMac Mid 2011
It appears like the GPU is failing, your choices are to take it to an Apple Authorized Service Provider to be fixed or attempt to find a GPU and replace it yourself.
Good luck.
imac screen has colored vertical lines