Pick a color:

Copy and paste this command into commandblock: