Discord embed colors use decimal numbers
Raw Discord API embed JSON expects a number such as 5793266, not the string #5865F2. That number is just the hex value read as one integer. The picker shows it next to the hex, RGB, and 0x versions, so embed JSON, webhook payloads, and bot code all get the right format. In JavaScript and Python you can also write the hex as 0x5865F2, which is the same number.