error handling tweaks for rgb() colors and dropped_decl