During the day, a non-uniform distribution of long and short wavelength light generates a colour gradient across the sky. This gradient could be used as a compass cue, particularly by animals such as dung beetles that rely primarily on celestial cues for orientation. Here, we tested if dung beetles can use spectral cues for orientation by presenting them with monochromatic (green and UV) light spots in an indoor arena. Beetles kept their original bearing when presented with a single light cue, green or UV, or when presented with both light cues set 1808 apart. When either the UV or the green light was turned off after the beetles had set their bearing in the presence of both cues, they were still able to maintain their original bearing to the remaining light. However, if the beetles were presented with two identical green light spots set 1808 apart, their ability to maintain their original bearing was impaired. In summary, our data show that ball-rolling beetles could potentially use the celestial chromatic gradient as a reference for orientation.