setColorState

Sets the extended state for the specified color to the given state.