How does light energy work? Is red light the lowest? or is blue light?

E = h*frequency or

E = hc/wavelength.

So high f means more energy or small wavelength = more energy.
Violet is the shortest wavelength; red is longer. Green is in the middle.