title: How to convert string to raw hexadecimal?
body: <p>I have a discord bot, which allows to add a default color to config.</p>
  <pre><code>{
     &quot;Embed-Default-Color&quot;: &quot;0x000000&quot;
  }
  </code></pre>
  <p>It doesn't allow raw input without &quot;&quot; and causes problems with usage:</p>
  <pre><code>with open(&quot;config.json&quot;) as f:
      config = json.load(f)
  
  DEFAULT_COLOR = config.get(&quot;Embed-Default-Color&quot;)
  
  em = discord.Embed(title=&quot;Hi&quot;, description=&quot;I'm Gabe Newell&quot;, color=DEFAULT_COLOR)
  </code></pre>
  <p>(Code used only for context showcase, there are no errors like config not found, etc.)</p>
  <p>Error returns <code>TypeError: Cannot use string for argument discord.Colour =&gt; &quot;0x000000&quot;</code></p>
  <p>How can I convert the string to hexadecimal, without letting it convert anything as it already is hexadecimal, but only in wrong format?</p>