Minecraft wiki entry for Development_versions, associated text: The armor boxes get black when empty and away from cursor.
Putting cursor over the armor inventory displays which armor is to put on there.