You have to add the # symbol in front of the hex code or it won't work properly. There's also an option to preview, so if there are no changes to the text color when the preview is prompted then it was entered incorrectly.
I can remove the item from your inventory and refund your Seashells as a one-time courtesy, just make sure you include the # with this next one!