Is it possible to define constants in CSS?

I use a few colors throughout my CSS style sheet. For example,

#testdiv{
  background: #123456;
}

Is it possible to define that color by name so I can reference it in the CSS sheet like the following?

#testdiv{
  background: COLORNAME;
}

Leave a Comment

tech