This looks like it needs a new graphic card. If you have a shop install it for you, it's less than $100.
But with a failing disk add another $75 to replace that.
I doubt if the machine is worth so much money.
My older desktop is a HP Pavilion Elite m9150f PC still running Vista. I do not know the specs but it's product number KC880AA. I hardly ever use it but I was on it last week and it starting turning blue/purple/pink and freezing. I was playing an old Sims game on it and thought it was the game so I just installed it and let it be. I tried using it tonight and it started doing it again then crashing (blue screen). Now it will not even get to the log in screen, it crashes before then. I ran a system recovery to factory settings, but it still will not make it to the log in screen. Since about 2008 or 2009 it has said one of the drives had a smart event I never did anything about it and I don't know if that could have anything to do with it. Any help would be greatly appreciated I'm not very computer savvy if you cannot tell.
PS. I posted this question on Yahoo answers and included a picture, here is the link: http://answers.yahoo.com/question/index?qid=20131125025227AAHgxhr