text: I have tried for 2 days to figure out the code on this and Im stumped. I have made simple menu's before, and a Pie Menu with the Grease Pencil tools in it but for some reason the color palette, color wheel, value sliders, etc in texture paint just will not evoke properly. Can someone who knows this better than I chime in and offer a solution?
  The goal is either a simple menu / pie menu to popup at the mouse with a color wheel or palette. It drives me crazy going to the left tool shelf to pick colors. If you know Krita then you know the menu Im looking for, even MyPaint with its "v" key popup. Here is what I tried last thinking I had a solution and still nothing.
  import bpy
  from bpy.types import Menu
  class PiePalette(Menu):
  bl_label = "PiePalette"
  def draw(self, context):
  layout = self.layout
  pie = layout.menu_pie()
  pie.template_palette(settings, "palette", color=True)
  def register():
  bpy.utils.register_class(PiePalette)
  def unregister():
  bpy.utils.unregister_class(PiePalette)
  if __name__ == "__main__":
  bpy.ops.wm.call_menu_pie(name="PiePalette")
  Bookmarks