Returns the proper element state color. The returned color object is affected by methods :isDisabled(), :isOn(), and :isMouseOver().
1 color
the panel color to use.
2 color
the text color to use.