Abstract Many animals improve their foraging success by producing signals that exploit the sensory biases of potential prey, but the specific properties that make these sensory traps effective remain unclear. We combine field experiments with phylogenetic comparative analyses to investigate the visual luring properties of different signal designs in web‐building spiders. Our field experiments used cardboard spider models to examine the effects of area of colour patches, colour and pattern on the foraging success of the colourful giant wood spider, Nephila pilipes. These experiments revealed that both the colour (yellow) and pattern (yellow and black mosaic) are essential for luring prey in a high ambient light environment. We subsequently used phylogenetic comparative analyses to demonstrate an evolutionary association between prey viewing environment and spider ventral signal among 63 species of orb‐weavers from 53 genera. Combined, our data show that (a) the colour of the bright body parts of orb‐weavers is essential for both diurnal and nocturnal prey attraction, whereas the pattern and area of colour patches are important for diurnal foraging and (b) the evolution of these visual lures is associated with the viewing environment, specifically ambient light intensity. We conclude that the effectiveness of colour luring might be a major driver of the convergent evolution of yellow mosaic patterns in phylogenetically divergent orb‐weavers. Our discoveries indicate that prey colour preferences and signal efficacy play a significant role in the evolution of visually mediated prey‐luring systems. A free Plain Language Summary can be found within the Supporting Information of this article.