Is there any good way to have a light function contribute color to a light?

i would like to know too. bump.