Jain Square offers the story of King Shrenik, who hears an illustration of the concept of karmic stain or soul colour – leśyā – from the 24th Jina. Mahāvīra explains how the colour of the embodied soul changes according to its mental and spiritual condition. This affects the progress of the soul through the cycle of rebirth.

https://jainsquare.wordpress.com/2011/06/27/king-shrenik-illustration-lesya/