Color blindness is caused by a genetic defect which affects the functionality of the cones responsible for processing red or green hues. This can result in reduced ability to distinguish between different shades of red and green, or an inability to perceive these colors at all.