A system for inspecting flat panel displays (FPDs) acquires scanning images using multiline charge-coupled device (CCD) cameras and industrial machine vision. Optical filters are currently installed in front of these inspection systems to obtain high-quality images. However, the combination of optical filters required is determined manually and by using empirical methods; this is referred to as passive color control. In this study, active color control is proposed for inspecting FPDs. This inspection scheme requires the scanning of images, which is achieved using a mixed color light source and a mixing algorithm. The light source utilizes high-power light emitting diodes (LEDs) of multiple colors and a communication port to dim their level. Mixed light illuminates an active-matrix organic light-emitting diode (AMOLED) panel after passing through a beam expander and after being shaped into a line beam. The image quality is then evaluated using the Tenenbaum gradient after intensity calibration of the scanning images. The dimming levels are determined using the simplex search method which maximizes the image quality. The color of the light was varied after every scan of an AMOLED panel, and the variation was iterated until the image quality approached a local maximization. The number of scans performed was less than 225, while the number of dimming level combinations was 2048 4 . The proposed method can reduce manual tasks in setting-up inspection machines, and hence is useful for the inspection machines in FPD processes.