The style attribute specifies an inline style for an element.
The style attribute will override any style set globally, e.g. styles specified in the style tag or in an external style sheet.
The style attribute can be used on any HTML element (it will validate on any HTML element. However, it is not necessarily useful).
The color property specifies the color of text.