Named colors in Stylelint
Today I learned you can configure your Stylelint config to whine whenever it sees hex colors in your stylesheets that could instead be represented as one of the 148 official CSS color keywords + aliases (PapayaWhip, LemonChiffon, DarkSlateGray, WhiteSmoke, etc.).
Why would you want this? IMHO because these colors are much easier to
remember and sight-read than hex values. Which is simpler:
DodgerBlue or #1E90FF
?
THE PROSECUTION RESTS. Learn more.