hi..thanks for your query
From what you mention, i feel you had a bruise
after you hurt the toe.A bruise is a type of hematoma
in which capillaries are damaged by trauma, allowing blood to seep or extravasate into the surrounding tissues.Briuse heals on its own mostly ,so you have noticed it getting better.However with the extent of bruising you mention and the pain , it is advisable to do an Xray of the toe immediately in order to know if there is an associated fracture
Hope this helps..Take care!