This statement is partially true. From Encyclopedia Britannica (https://www.britannica.com/story/are-dogs-really-color-blind)
I found the answer in an article by Jonathan Hogeback on Encyclopedia Britannica. The article was fact-checked. Dogs are technically color-blind however, they don't just see the world in black and white. Dogs can see a couple of colors but are blind to the rest, therefore making them color-blind.
JONATHAN HOGEBACK (Britannica) - Dogs do not see in black and white, but they are what we would call "color-blind," meaning they have only two color receptors (called cones) in their eyes, whereas most humans have three.
In dogs, however, the two color receptors in the eyes perceive wavelengths of light that correspond to blue and yellow, meaning that dogs see only in combinations of blue and yellow.