Selecting random boxes

Hi, I´m trying to build the following:
There are 9 boxes and when people push a button 3 of the boxes must me randomly selected. People know that they have been selected because the boxes change their look.

I have read many tutorials but I haven´t seen anything like it. Does anyone know how to do that???

Thanks,
RAf