adding custom color family algos
performed major refactoring to improve color matching