Reptile Lighting Information
Some interesting answers can be found above:
"Visible light, including UVA, is essential. Many reptiles have extremely good color vision. Humans have three types of retinal cone cells for color vision, and their brains combine the information from these cells and perceive the blend as a certain color. Most reptiles, however, have a fourth cone type, which responds to UVA. These reptiles see a much more colorful rainbow than humans do, which makes providing natural lighting quite a challenge. This extra color perception is especially important to many reptile species in recognizing others of their species and even food items.
Some nocturnal geckos lack the red-sensitive cone, but their green-sensitive cone also responds to red light; they can certainly see it. Studies have even shown that some use their cone types for color vision in light similar to dim moonlight. Thus it is possible that “moonlight blue” or “red night light” lamps, which usually are much brighter than moonlight, alter these animals’ view of the twilight world.
Sunlight also has effects unrelated to conscious vision. A reptile’s eyes, and the parietal eye (third eye) in those species that have one, transmit information to other parts of its brain responsible for setting circadian (daily) and circannual (yearly) rhythms. There are even light-sensitive areas of the reptilian brain that respond directly to sunlight’s glow through the skull. The length of day and night, the sun’s position in the sky, and the intensity and amount of blue in sunlight all give precise information about the time of day and season of the year. In response, a reptile adjusts its activity levels, and daily and seasonal behaviors, such as its reproductive cycle and thermoregulation needs. Even nocturnal species govern their behavior by monitoring day and night from their daytime hiding places."
In other words, using colored lights at night may alter the gecko's vision and cause them trouble f.e. to spot prey.
In addition, what we see as "dim"/mild sources of light are not perceived at all in the same way by geckos. Artificial colored lights used at night are certainly unnatural and unusual for them. From this, we can wonder whether these colored bulbs cannot trigger visual stress.
Are Artificial Night Lights Among Threats to Declining Reptiles? this is also fairly interesting:
"Artificial night lighting may affect the behavior of wildlife in complex ways and may even contribute to declines in some reptile species, according to a study by the U.S. Geological Survey (USGS) and Texas Tech University"
In other words, any other nocturnal light source than natural moonglow through a window or perhaps dim sources of light at some distance of the geckos enclosures such as an on/off light button is at everyone's own risk. One thing is for certain: while there are speculations on the use of colored lights, complete darkness at night is absolutely without risks for our pets.