Yes, you are correct. Light also has both amplitude and frequency, similar to how sound has loudness (amplitude) and pitch (frequency).
In the case of light, the amplitude refers to the strength or magnitude of the electric and magnetic fields associated with the electromagnetic wave. It determines the intensity or brightness of the light. Higher amplitude light generally appears brighter to our eyes.
The frequency of light is related to the wavelength of the electromagnetic radiation. The frequency describes the number of wave cycles that pass a given point in one second. Different frequencies of light correspond to different colors in the visible spectrum. For example, light with a higher frequency appears bluer, while light with a lower frequency appears redder.
The relationship between frequency and wavelength of light is given by the equation c = λν, where c is the speed of light, λ (lambda) is the wavelength, and ν (nu) is the frequency. This equation shows that as the frequency of light increases, its wavelength decreases, and vice versa.
It's important to note that the energy of a photon is directly related to its frequency (or wavelength) rather than its amplitude. The higher the frequency (or shorter the wavelength) of light, the greater the energy of each individual photon.
So, in summary, light, like sound, has both amplitude (which relates to brightness) and frequency (which relates to the color or wavelength) as fundamental properties.