ColorDetector: Added a bunch from mag_detect. Not working yet, but I'm
moving, so probably should commit in case my laptop explodes.