Implement DominantColor plugin