How to get color data of lighting for materials?
I'm not 100% sure this is what you're looking for, but if you want colored light to apply in a &quot;toon&quot; fashion, you could try something like this.
In the example below, I have a single red light to the side.

And in this picture, I un-hid a green light above and to the right as well.

If you want to take it one step further and make the toon shadows darker and more apparent, you can turn it back into an RGB, and then multiply it with the values from your &quot;toon shadows&quot; ColorRamp.

Or if you want really dark, vibrant colors from the lights (this will heavily wash out the original texture's color, but can be slightly overcome by turning up the emission strength from your image texture), you can make it a Diffuse Shader again:

Let me know if this works.