How do people contract the disease color blindness?

Color blindness is hereditary and non-communicable.