This is the code used in the series of posts on my blog about How to colorize Game Boy games. I'm using PowerShell scripts and Windows terminology, but everything should be easily migrated to macOS and Linux.