If testing reveals color blindness, the applicant may be issued a license with restrictions, such as no night flying and no flying by color signals—such a restriction effectively prevents a pilot from holding certain flying occupations, such as that of an airline pilot, although commercial pilot certification is still possible, and there are a few flying occupations that do not require night flight and thus are still available to those with restrictions due to color blindness (e.g., agricultural aviation). The government allows several types of tests, including medical standard tests (e.g., the Ishihara, Dvorine, and others) and specialized tests oriented specifically to the needs of aviation. If an applicant fails the standard tests, they will receive a restriction on their medical certificate that states: "Not valid for night flying or by color signal control". They may apply to the FAA to take a specialized test, administered by the FAA. Typically, this test is the "color vision light gun test". For this test an FAA inspector will meet the pilot at an airport with an operating control tower. The color signal light gun will be shone at the pilot from the tower, and they must identify the color. If they pass they may be issued a waiver, which states that the color vision test is no longer required during medical examinations. They will then receive a new medical certificate with the restriction removed.
An anomaloscope designed to detect red-green color blindnesses is based on the Rayleigh match, which compares a mixture of red and green light in variable proportions to a fixed spectral yellow of variable luminosity. The subject must change the two variables until the colors appear to match. The values of the variables at match (and the deviation from the variables of a color normal subject) are used to diagnose the type and severity of colorblindness. For example, deutans will put too much green in the mixture and protans will put too much red in the mixture. Genetic testing
Most tests evaluate the phenotype of the subject, i.e. the functionality of their color vision, but the genotype can also be directly evaluated. This is especially useful for progressive forms that do not have a strongly deviant phenotype at a young age. However, it can also be used to sequence the L and M opsins on the X Chromosome. The most common anomalous alleles of these two genes are known and have even been related to exact spectral sensitivities and peak wavelengths. A subjects anomalous alleles can therefore be classified through genetic testing. Management
Despite much recent improvement in Gene therapy for color blindness, there is currently no FDA approved treatment for any form of CVD, and otherwise no cure for CVD currently exists. Management of the condition by using lenses to alleviate symptoms or smartphone apps to aid with daily tasks is possible.