Should one always be in object mode when to give values to hue, saturation and value?

I did notice when you made  a selection in edit mode and assigned a material to it then before you put in values for hue, saturation and value you changed to object mode. So, should one always be in object mode when to give values to hue, saturation and value, or doesn't it matter?