The zebrafish has a tetrachromatic vision that is able to distinguish ultraviolet (UV) and visible wavelengths. Recently, zebrafish color preferences have gained much attention because of the easy setup of the instrument and its usefulness to screen behavior-linked stimuli. However, several published papers dealing with zebrafish color preferences have contradicting results that underscore the importance of method standardization in this field. Different laboratories may report different results because of variations in light source, color intensity, and other parameters such as age, gender, container size, and strain of fish. In this study, we aim to standardize the color preference test in zebrafish by measuring light source position, light intensity, gender, age, animal size to space ratio, and animal strain. Our results showed that color preferences for zebrafish are affected by light position, age, strain, and social interaction of the fish, but not affected by fish gender. We validated that ethanol can significantly induce color preference alteration in zebrafish which may be related to anxiety and depression. We also explored the potential use of the optimized method to examine color preference ranking and index differences in various zebrafish strains and species, such as the tiger barb and glass catfish. In conclusion, zebrafish color preference screening is a powerful tool for high-throughput neuropharmacological applications and the standardized protocol established in this study provides a useful reference for the zebrafish research community.