B&W Processing with darktable - module choice & ordering

Have you tried the parametric masks? There’s usually a way to select on colour (a/b, or R/G/B iirc)