* The Sun and Heat: The sun emits light and heat, but it doesn't "attract" things based on their color.
* Color and Absorption: Darker colors absorb more light and heat than lighter colors. This is why wearing black clothing on a hot day can make you feel warmer.
* Gravity: The sun's gravitational pull is what attracts planets and other objects in the solar system, not color.
In summary: The sun doesn't "see" colors or have preferences. Darker surfaces simply absorb more of the sun's energy, resulting in a warmer temperature.