Can someone explain when to use the xcolor
package instead of the color
package?
Unless you are creating your own specific colors, the differences between the packages seem to be fairly superficial. Am I missing something that makes one package better than the other?
Note: I only use the packages to add a little bit of color here and there to my documents. I'm by no means an advanced user, but I want to know which of the packages are preferred and for what reasons.
Edit: The xcolor
package documentation states: Its purpose can be summarized as to maintain the characteristics of color, while providing additional features and flexibility with (hopefully) easy-to-use interfaces.
So for non-advanced users, its just a matter of syntax preference, right?
xcolor
and I love (and probably over-use)\colorlet{<new color name>}{<old color name>}
(e.g. for\colorlet{important}{red}
or something)xcolor
(e.g. using\color{blue!30!green}
).xcolor
you can simply stick withcolor
; even though I can't see the disadvantage in usingxcolor
in the first place.