The amount of heat is in essence the amount of energy. If we ignore complications such as how much of the light (and accordingly, the amount of energy in it) is absorbed, reflected, or transmitted by the target, then all we need is to know the intensity (which we might define as the number of photons that arrive in a given time and area) and the frequency of the photons.
Point 1: Other things being equal, the amount of energy matches the number of photons; twice as much energy means twice as many photons.
Point 2: Other things being equal, the amount of energy matches the frequency; twice the frequency (half the wavelength, right?) means twice the energy.
That part of that story is as simple as that. Do some calculations and see whether they reward you with insights. One blue photon with a wavelength of about 488 nanometres, carries as much energy as about 250000 photons of wavelength about 122 mm in a typical microwave oven.
I hope that helps,
Jon