Is wearing white or black clothing better for sun protection?

Doesn't matter. Ultraviolet light passes through (or is blocked by) clothing at the same rate, no matter what color it is. However, black clothing will absorb a lot of heat, while white clothing will reflect it. So if it's hot out, you'll be more comfortable in a white outfit.