Metal-dielectric subwavelength gratings under s-polarized and p-polarized visible radiation are studied for discovering their intriguing behaviors of spectral resonance and color property.The dependence of their resonance and color on grating parameters as well as angle of incidence and position of plane of incidence is also analyzed.For s-polarized light,the behavior of spectral resonance with single peak and higher peak efficiency is found.While transmission spectra for p-polarized light are not able to achieve a behavior like that of s-polarization,creating a perceived color is feasible.Moreover,a security grating with distinctive color shifts has been designed and its resonant properties as well as related color variation have also been provided.