Which of the following affects the brightness of stars when viewed from earth?
A. size
B. color
C. temperature
D. distance