What are some good color perameters in shape recognition

This of course would have to apply to a range of all 2D images so I really don’t know what to use. Of course to identify an object you would need to separate it into separate shaped wouldn’t you?