Histogram color detection

Project which uses histogram for color detection was added. But
histogram color detection does not work correctly.