1 | initial version |
I would suggest moving to another color space where luminance is more accessible. Then it will be possible to seperate colors from light colors.
For example move to the HSV/HSL color space where you can first seperate colors based on the angle specific to that color than use the luminance axis to seperate between saturated and non saturated colors.