The optical parameters of hydrogenated amorphous a-[Formula: see text]:H layers were measured with focused beam mapping ellipsometry for photon energies from 0.7 to 6.5 eV. The applied single-sample micro-combinatorial technique enables the preparation of a-[Formula: see text]:H with full range composition spread. Linearly variable composition profile was revealed along the 20 mm long gradient part of the sample by Rutherford backscattering spectrometry and elastic recoil detection analysis. The Cody-Lorentz approach was identified as the best method to describe the optical dispersion of the alloy. The effect of incorporated H on the optical absorption is explained by the lowering of the density of localized states in the mobility gap. It is shown that in the low-dispersion near infrared range the refractive index of the a-[Formula: see text] alloy can be comprehended as a linear combination of the optical parameters of the components. The micro-combinatorial sample preparation with mapping ellipsometry is not only suitable for the fabrication of samples with controlled lateral distribution of the concentrations, but also opens new prospects in creating databases of compounds for optical and optoelectonic applications.