These should read pretty easily. They handle a single color channel at a time (so some of the more complex modes wouldn’t work this way, eg if they need to convert the entire pixel the HSL). Base is the bottom layer color value, and adj is the top layer.
There are a few more easy ones I need to get to still (vivid light, etc). And then I may try to do the harder ones.