Data and code from: Sexual and ecological drivers of plumage conspicuousness in hummingbirds
Data files
Jul 17, 2026 version files 204.32 MB
-
absolute_irradiance.txt
89.58 MB
-
areas_troc_COL.txt
43.81 KB
-
back2.txt
54.14 MB
-
Code_full.R
253.82 KB
-
dataMorning2.txt
710.06 KB
-
dataXYZMorning2.txt
711.78 KB
-
ecoreg_strata.txt
12.94 KB
-
PCAraw.txt
699.57 KB
-
README.md
6.56 KB
-
refcolC.txt
17.07 MB
-
Reflectance-Objects.zip
7.05 MB
-
refmin.txt
16.44 MB
-
refthird.txt
16.60 MB
-
sam.nex
892.38 KB
-
TableS1-Specimen_list.txt
58.51 KB
-
TableS3-Humm_loadings
23.28 KB
-
TableS4-Lenv_loadings
23.84 KB
-
treeC.tre
6.10 KB
Abstract
The striking diversity of bird plumage colors has long fascinated researchers and inspired foundational evolutionary theories. Both natural and social selection can shape plumage color variation, enhancing either crypsis or conspicuousness, and thereby influencing fitness. Yet how light environments influence color function remains poorly understood. Here, we show that color variation among plumage patches aligns with their presumed functions—either attracting or diverting receiver attention—but is only weakly associated with local light conditions. Using a comprehensive dataset of side-welling irradiance, background reflectance, and hummingbird plumage spectra, we find that site-specific variation in irradiance predicts changes in crown coloration, but not in other patches. Sexual dichromatism, in contrast, significantly affects the color of all patches, including those presumed to be cryptic. We found that conspicuousness across patches decreases when shifting away from the angle of peak reflectance, which suggests that iridescence and behavioral mechanisms allow hummingbirds to decrease conspicuousness at different viewing geometries. These results suggest that hummingbird coloration is not adapted to variation in specific light environments, but rather it has been tuned through time by behavior and interactions between sexes and predators to remain effective despite environmental variation.
Sexual and ecological drivers of plumage conspicuousness in hummingbirds
DIEGO F. BELTRÁN, ALLISON J. SHULTZ, AND JUAN L. PARRA
EVOLUTION
Code_full.R: R code to replicate analyses
TableS1-Specimen_list.txt - Specimen list with institution and catalog number for specimens used.
- Column "Museum.Field" indicates if specimen is from a museum collection or field capture.
- Column "Museum.Locality" indicates the name of the institution or locality in the field.
TableS3-Humm_loadings - PC1-PC3 PCA loadings for hummingbirds
TableS4-Lenv_loadings - EPC1-EPC2 PCA loadings for light environments
refcolC.txt: Reflectance database of 131 hummingbird species present in Colombia and used in this study
- Filename = File label
- Field_number = Museum voucher number or field capture number
- Species = Genus_species
- Sex = Males or Females
- M_F = indicates if specimen is from a Museum collection or Field capture
- Locality = indicates the name of the museum institution or locality in the field
- Replicate = Three individuals were measured more than once, this indicates which replicate it is
- Angle = Angle of maximum reflectance (1 = 90 degrees, 2 = 60 degrees, 3 = 45 degrees, 4 = 105 degrees)
- Feather_type = Feather patch (1 = Crown, 2 = Gorget, 3 = Belly, 4 = Mantle, 5 = Rump)
- Orientation = Feather position (only the longitudinal position was used)
- Date = Year in which the feather was measured
- Integration time = Integration time of each measurement in ms
- 300-700 = Reflectance
absolute_irradiance.txt: Full database of absolute irradiance for all ecoregions and strata
- Names of columns and ecoregions are in spanish, translations as follows: Localidad = Ecoregion <- Amazonas = AmazonRainforest, Bosque_montano = AndeanMontaneForest, Bosque_nublado = CloudForest.
- Caribe_bosque_seco = SinuValleyDryForest, Cauca_bosque_seco = CaucaValleyDryForest, Llano = LlanosLowlands,
- Magdalena_bosque_humedo = MagdalenaMoistForest, Magdalena_bosque_seco = MagdalenaDryForest,
- Manglar = CaribbeanMangrove, Nambi = WesternAndeanFoothill, Paramo = Paramo, Patia = PatiaValleyDryForest,
- Piedemonte = AndeanEasternFoothill, Sierra_Nevada = SierraNevada, Tutunendo = ChocoMoistDorest, Habitat = Microhabitat <- bosque = Forest, claro = Clearing, abierta = Open/Clearing, borde = ForestEdge.
- Franja = Time of day <- m = Morning, n = Noon, a = Afternoon.
- Dia = Day <- Measurements were taken for 1-3 days in each locality.
- Orientacion = Orientation <- Measurement scheme was numbered as follows:
- 1, 7, 13 = Available light (pointing probe upwards towards the sky three times)(not used),
- 2-5, 8-11, 14-17 = Background color (point at each cardinal point three times),
- 6, 12, 18 = Dark spectrum (covering the cosine corrector and probe with black rubber cap)(used in irradiance calculation, see main text).
- Fecha = Date, Hora = Time, IT_sec = Integration time in seconds.
- Column names afterwards correspond to wavelength and below the corresponding absolute irradiance.
dataMorning2.txt: Hummingbird and light env morning spectral PCs:
- Patch = Feather patch (1 = Crown, 2 = Gorget, 3 = Belly, 4 = Mantle, 5 = Rump)
- TofD = Time of day for background measurements (m = morning)
- PC1-3 = Hummingbird spectral PCs
- EPC1-3 = Background spectral PCs
dataXYZMorning2.txt: Hummingbird and light env morning tetrahedral color space coordinates:
- Patch = Feather patch (1 = Crown, 2 = Gorget, 3 = Belly, 4 = Mantle, 5 = Rump)
- TofD = Time of day for background measurements (m = morning)
- x-y-z = Hummingbird coordinates
- Ex-Ey-Ez = Light env coordinates
back2.txt: Raw backgrounds in energy units, without suspicious measurements.
- Column names are the same as in absolute_irradiance.txt
Reflectance-Objects.zip: Three files containing reflectance files of random rain forest objects
areas_troc_COL.txt: Overlap between ecoregion polygons and hummingbird distribution polygons for each species
ecoreg_strata.txt: Ecoregion and stratum selected for each species in this study
PCAraw.txt: PC1-3 for all hummingbirds and backgrounds
- Type = Whether hummingbird or background
- Ecoregion_Species = Ecoregion name or Genus_species
- Stratum_Sex = Stratum (bosque = understory or claro = open), or Sex (males or females)
- TofD_Patch = Time of day (a = afternoon, m = morning, n = noon) or Feather patch (1 = Crown, 2 = Gorget, 3 = Belly, 4 = Mantle, 5 = Rump)
- PC1-3
treeC.tre: Hummingbird phylogenetic tree, pruned from the McGuire et al. 2014 complete phylogeny (available at https://datadryad.org/stash/dataset/doi:10.6078/D1C135).
sam.nex: sample of 100 trees from the hummingbird posterior distribution
refmin.txt: Reflectance database from angle of minimum reflectance.
- Filename = File label
- Field_number = Museum voucher number or field capture number
- Species = Genus_species
- Sex = Males or Females
- M_F = indicates if specimen is from a Museum collection or Field capture
- Locality = indicates the name of the museum institution or locality in the field
- Replicate = Three individuals were measured more than once, this indicates which replicate it is
- Angle = Angle of maximum reflectance (1 = 90 degrees, 2 = 60 degrees, 3 = 45 degrees, 4 = 105 degrees)
- Feather_type = Feather patch (1 = Crown, 2 = Gorget, 3 = Belly, 4 = Mantle, 5 = Rump)
- Orientation = Feather position (only the longitudinal position was used)
- Date = Year in which the feather was measured
- Integration time = Integration time of each measurement in ms
- 300-700 = Reflectance
refthird.txt: Reflectance database from a third intermediate angle.
- Filename = File label
- Field_number = Museum voucher number or field capture number
- Species = Genus_species
- Sex = Males or Females
- M_F = indicates if specimen is from a Museum collection or Field capture
- Locality = indicates the name of the museum institution or locality in the field
- Replicate = Three individuals were measured more than once, this indicates which replicate it is
- Angle = Angle of maximum reflectance (1 = 90 degrees, 2 = 60 degrees, 3 = 45 degrees, 4 = 105 degrees)
- Feather_type = Feather patch (1 = Crown, 2 = Gorget, 3 = Belly, 4 = Mantle, 5 = Rump)
- Orientation = Feather position (only the longitudinal position was used)
- Date = Year in which the feather was measured
- Integration time = Integration time of each measurement in ms
- 300-700 = Reflectance
