title: Python Gtk3 set or change color for GdkPixbuf.Pixbuf from Gdk.RGBA or Gdk.Color
body: <p>How can I set or change the color of a GdkPixbuf.Pixbuf ?</p>
  
  <p>I can create and fill:</p>
  
  <pre><code>pixbuf = GdkPixbuf.Pixbuf.new(GdkPixbuf.Colorspace.RGB, False, 8, 32, 16)
  pixbuf.fill(0x000000)
  </code></pre>
  
  <p>But how to get a color from from Gdk.RGBA or Gdk.Color?</p>
  
  <p>edit:</p>
  
  <p>I tried so much things now but nothing is working, for example:</p>
  
  <pre><code>import webcolors
  from gi.repository import Gdk
  color = Gdk.color_parse("orange")
  hexe = webcolors.rgb_to_hex(color.to_floats()) 
  </code></pre>
  
  <p>But I still have the problem that I need 0x at the beginning and it have to be a number.</p>