The bright green of native chlorophyll in plants is determined by the presence of a central magnesium atom in a large porphyrin ring. While nitrogen is also important for plant growth, it is not directly responsible for chlorophyll's green color; it is a component of the chlorophyll molecule but not the central atom.
The resonant frequency of pure magnesium is 4,620 Hz, If a guitar string is plucked and we hear a sound, it is not too difficult for the human mind to associate this sound with the vibration of the guitar string. With color, it is quite different. It is difficult for us to conceive that the color of a substance is not an inherent property of the substance itself, but an indication picked up by our senses of that substance's ability to absorb or reflect the light which happens to be shining on it at that moment. Neither the matter nor the light is colored. What happens is that the brain learns to differentiate between the frequencies reflected or transmitted by the substance the eyes are focused on. The same thing happens with sound.When discussing the "frequency" of magnesium in terms of light, it refers to the wavelength of light emitted or absorbed by magnesium atoms, which is primarily around 285.2nm UV-B.
The characteristic frequency of a nitrogen molecule is typically found in the ultraviolet range, with a wavelength of around 75 nanometers (nm).