You could switch between Fill and Stroke in the Swatches panel instead and the Color panel will not open.
To add onto Jeff's suggestion try the hotkey of "x".
To add to Mike's keyboard shortcut, Shift-x will swap the colors of the Fill and Stroke of a selected object.
Yo, what if I never want that color panel to open? Like ever.
If I spend a bunch of time setting up all the panels with the tools I want displayed on the screen, I really don't want anything jumping in and mucking that up.
I agree with you. Looking for an answer too
Did you ever find one?
No, and I'm still pretty irked about it. The color panel is basically useless to me. I never want it to open up. I can't find a way to stop it.
Damn. That sucks. I 100% agree with you.
Just came across this issue, here's a solution.
Right click on the palette name and uncheck Auto Show Hidden Panels. You may need to save your layout prefs so that it remembers next time.
This does NOT fix the problem.
Close the color panel.
Now on the left side of the screen, click back and forth between the fill color and the stroke color. Going from one to the other triggers the color panel to open back up regardless of any settings including the "Auto show hidden panels" setting.
This is one of the most frustrating things in Illustrator for me. There's no dang reason why it should behave this way.
The X suggestion above is a good one for solving the problem most of the time. It adds an extra step in there opposed to just being able to double click the stroke or fill in the back but it's tolerable once you're in the habit. There's another instance where this happens and the X hotkey isn't a solution but I can't for the life of me remember what it is at the moment. Next time is happens on comment it.
Yea, I see the "X" button solution, and that's what I'm using currently. It's just mad frustrating that the default behavior of this software is to pop open a window that I repeatedly close and would do anything to tell it to stay closed permanently. I'm hoping some adobe engineer sees this and makes a change at some point.
I don't know why so many people use the color picker at all. Its color display is misleading.
But if you want this changed, then don't post in this forum, but on Uservoice: http://illustrator.uservoice.com Probably there is already a post on it and you can vote in order to give it more priority.
Yes, the engineers are watching that place.