Hey guys,
Im wondering if its possible to manipulate the colors of pictures and sprites through javascript, and in rpg maker mv. And im not talking about switching pictures of spritesheets with premade identical assets that have a different color - but actual manipulating images.
yes and no...
What you're describing is usually called hue changes, and that involves mathematical functions to change the data.
Decades ago, when RAM and HDD storage was expensive, it was usually done in every engine because that way you could reduce the number of pictures needed for a game and still have visible changes.
However, it also needs a lot of processing power, especially when the pictures got larger.
In the last years storage got so cheap that most developers abandoned the idea of mathematical hue changes - especially the RMs remove that option in the last several engine versions, because they already have problems with lag.
It's basically an outdated technique that most programmers stay far away from for good reasons.
So if you search deep enough you should find documentation on the formulae required, and then you'll have to implement that formula to recalculate the picture data on the fly.
However, it will cost you much in CPU cycles and your game will be worse for it.