hmmm I guess you could put a comment next to it to tell you what
color it is...
Here's something I do. At the top of my stylesheet, I have a special
class called placemark, and in that class, I have defined a background
image. That makes it easier for me to choose colors that go well
together with the image.
I have a client who is building a house, and had certain colors choosen
from the paint store. I was able to go online and using a color picker
to get the hex equivalent for those particular colors. Of course, the
paint store had given them smart sounding name like "Saint Martin Sand",
so I made a class with that name. When the client said, "Oh, I want
that sidebar to be the same color as my kitchen, which is the Saint
Martin Sand" I could get the color just by looking for that classname.
Mind you, I did not call the sidebar the color, I called it sidebar, I
just copied that color over. Now, if she decides that she wants to
paint the kitchen shocking pink, it's just a matter of changing the
sidebar div to the appropriate color.
I think it's important to have a good stylesheet editor, especially when
you are using an external stylesheet. I use TopStyle from Bradsoft
[
http://bradsoft.com/top-style]. Integrated progams are nice, but I
like using separate tools, just as I separate content from presentation,
I also use different tools for the job at hand. I have a separate
stylesheet editor, I use a sql client to write and test queries, and I
preview in browsers, not the editor's native preview. I also use my
computer as a development server, and I don't upload to the production
server until everything has been tested (HTML validated, CSS validated,
passes Cynthia Says, works with different font sizes, etc.).