If you look in the comments section of the mod, there is a comment asking why I didn't use hardware coloring. Here's my answer. Prove me wrong.
Click here to see the mod
Yes I know hardware coloring exists. I want each item to be in the inventory which cannot happen with hardware coloring. Also, the way these items would need to be colored with harware coloring would require an hsv code. I have experimented with MANY lua hsv functions. NONE of them fully work properly. I have tried creating my own and it still does not work. This mod uses the overlaying of images which archives exactly what I want. Using "coloration" cannot really create dark or light colors unless the texture it is coloring is at a perfect level of brightness.
The final result may include less code for the game to run, and take less amount of nodes, but..
It would take many blue moons to get perfect. The time it would take to perfect the code is more than it is worth and I'm not up for it. If you want to prove me wrong, write me some code and maybe we get get somewhere but honestly I'm good with what is here. If your up for this challenge, the code must be able to create ANY color that is the EXACT color that the rgb value suggests. Not lighter or darker.