add cache for dominant color tool
merge