I guess the alternative would be to compute everything in greyscale and use Floyd-Steinberg [0] or some other dithering algorithm to convert it to 1-bit color.
[0]: https://en.wikipedia.org/wiki/Floyd%E2%80%93Steinberg_dither...
[0]: https://en.wikipedia.org/wiki/Floyd%E2%80%93Steinberg_dither...
After the exploration with greyscale, as the blog post hopefully explains, I moved from to pulling out black and white separately - which gave better results - to this RGB Channel approach to generate the masks more easily.
I have headroom to squeeze another colour by using the alpha channel as the base colour and using the free colour for some other detail. But so far I've not needed to. Though good to know it's there if I need it to be!