I want a javascript/jquery code in which, it can define the lightness or darkness of an image in percentage with the another (reference) image. For example, I have a green color