In order to explore the potentialities of xNy materials in multilayer-based solar selective coatings (SSC) for high temperature applications (T>500 ºC), the optical behavior of Cr1-x(Al)xNy films is studied in this work. Two sets of layers (CrNy and Cr1-xAlxNy) were prepared by direct current (DC) and high-power impulse magnetron sputtering (HiPIMS) technology. The deposition parameters: N2 flux, HiPIMS frequency and aluminum sputtering power, were modified to get a wide variety of stoichiometries. The composition, morphology, phases and electronic structure of the films were characterized in depth. The optical behavior was determined by UV-Vis-NIR and FTIR spectroscopies, and the optical constants were obtained from the measured transmittance and reflectance spectra based on appropriate dielectric function models. Our results indicate that small changes in the layer composition influence the optical constant. In particular, a metallic-like behavior was obtained for CrNy layers with N vacancies (CrN0.95 and CrN0.67 films) while a semiconductor-like behavior was observed for CrN1.08. Thus, the CrNy films can be used as effective absorber layer in multilayerbased SSC, and namely, the CrN0.67 film as an IR reflector/absorber layer too. Likewise, the optical properties of Cr1-xAlxNy layers can also be tuned from metallic to semiconductor-like behavior depending on the chemical composition. Indeed, the absorption coefficients of Cr1-xAlxNy films with optimized Al content and N-vacancies are comparable to those reported for state-of-the-art materials such as TiAlN or TiAlCrN. In addition, a Cr0.96Al0.04N0.89 film was found to be a suitable IR reflector/absorber layer.