Which of the following is an example of metaphor?

a. the sun was red and gold and maroon all at once
b. the sun was a fat red tick on the scruff of the horizon
c. the sun was more lovely than I had even seen it
d. the sun was like molasses melting in a pan