Hair dye script

Okay, making a sprite for every possible dye seems.... time consuming. Not mentioning the millions of versions i have to make of that hair color WITH the armor....


What i'm asking is, is there a script that will go into the sprite fill and put a mask or filter on a certain spot as if to dye the characters hair?


The character starts with brown, but i want to make it so the player can choose otherwise...
Something like this? The script may be a bit buggy though from what I remember...

Original thread: https://forums.rpgmakerweb.com/threads/hair-dye-script.63746/