In order to understand the dun gene in horses, we should first look at how it is represented genetically, and then how it affects the three common coat colors of chestnut, black, and bay.
On the large majority of horses, you can tell if they carry the dun gene by looking for the telltale dorsal stripe running down the back of the horse.