The Lupton Algrorithm
Our LSST colleague Robert Lupton developed an algorithm for optimally combining images from multiple color bands together. That algorithm is implemented in astropy here:
https://docs.astropy.org/en/stable/api/astropy.visualization.make_lupton_rgb.html
and you can find the paper that describes it here: Â Lupton 2004.
Try to understand this paper and explain the technique to us in a group meeting. Then either by writing your own or calling the astropy version, try to apply it to a 3 color version of your Leo Triplet image.