You could get a similar effect using rgba values and adjusting the opacity. For example:
color: rgba(0, 0, 0, 1.0);
This represents pure black. The last digits in the parentheses affect the opacity. You could adjust it from 1.0
to 0.5
to get a lighter color (assuming a light background behind the text).
I often do this when I'm too lazy to get specific hex values for shades of gray (but it'll work with any color, too).