If you are looking for an umbrella to protect against sunlight, you may want to choose one that is made with materials specifically designed for sun protection, rather than simply relying on the color of the fabric.
That being said, in general, darker colors like black, navy blue, and deep green may be more effective at blocking sunlight than lighter colors like white, yellow, or pink. This is because darker colors absorb more light and heat than lighter colors, so they may provide more shade and cooler temperatures under the umbrella.
However, the color of the umbrella is not the only factor that affects its sun protection capabilities. The type of fabric, the density of the weave, and the amount of UV-blocking coating are all important factors to consider. If you are looking for an umbrella for sun protection, look for one that is made with UV-resistant materials and has a high UPF (Ultraviolet Protection Factor) rating.