This method is very nice, but if colors are too similar, they don't work well, even with adjusting the percentages. When colors are similar, black won't be fully black, and the other color is not fully that color.
If this feature could be integrated into ScanTailor and that would be excellent. But, to clearly distinguish between color and black text, we may have to use manual area selection. There could be a new tab "Color text" tab on "Output" stage, where we can draw rectangles (or shapes) to mark colored areas. This may include solid fills too, not only text. (For example colored borders need 4 rectangles.)
When areas are defined, the program would - somehow - detect the ruling color of each area and then do "threshold" operation like with B&W, and finally fill Black pixels with the detected ruling color...
The color may need to be applied to all pages, so minor differences in the scan would still result in the same color output. (But this part could be done in ImageMagick with the method described here.)
Preserving colored text
Moderator: peterZ