Is the word "color" used in the same way in the following two sentences?

She used a different color for the trim.

Each flavor of quarks comes in three colors.
different meanings