Since I can remember the insertion of the hexadecimal codes in the Discourse palette has always been exactly as you described it. You must manually enter only the hexadecimal number and omit #
Many color pickers give you the option of copying the hexadecimal code by previously deciding the code format
