Step 1: Identifying the element X.
The lightest element in group 7 of the periodic table is fluorine (F), but the question refers to its oxoanion in which the metal is in a +6 oxidation state. This suggests the oxoanion involves a metal such as \(\text{MnO}_4^{2-}\) with manganese in the +6 oxidation state. The oxoanion in this case would be \(\text{MnO}_4^{2-}\). Step 2: Oxidation state and color of the potassium salt.
When potassium permanganate (\(K_2\text{MnO}_4\)) is dissolved, it forms the characteristic deep purple color. However, when manganese is in the +6 oxidation state in its oxoanion, the potassium salt formed is often orange in color. Step 3: Conclusion.
The potassium salt of X, when the metal is in the +6 oxidation state, is orange in color. (B) orange.