There is a lot of conflicting advice when it comes to the color red.
Some say to only use red near the back of the bait so that it looks like gills from behind. The logic behind that is that a fish will be more likely to attack a bait that isn't facing it.
Others will tell you that red hooks on topwaters and jerkbaits will give the fish something to target, and resemble an injured/bleeding baitfish.
I've also read a lot about the color red on the entire or most of the bait being very effective especially on lipless cranks and squarebills around the springtime.
And lastly to add even more confusion there is the reasoning that because the color red turns grey to our eyesight at increased water depths, it should be avoided when fishing deeper and more stained to muddy waters.
My advice especially for a beginner is that if there was only one color that worked all the time there wouldn't be such a huge variety of colors on every bait. When fishing from shore especially, its much more important to first find where the fish are and then worry about colors. You could have the perfect color for your given water clarity, depth and location but if there's no fish around you wont catch them.