I've had the same thing happen like 3 times, including saying I wasted a yellow potion when they had a red gem, and not using a butt potion when they were fighting skeletons.
Several people have had gem color issues. I’m trying to track it down. Were you running the downloaded version or the browser version when this happened?