Detects dominate colors in an image