cleaner css and color function