Smart Product Card created with React. The background color changes based on the given image color. The image color has to be passed through an object to the productCard component