Run the style with this line: ipython qtconsole --style=mycolors or, set the option in your ipython_qtconsole_config.py file: # If not empty, use this Pygments style for syntax highlighting. Otherwise, the # style sheet is queried for Pygments style information. c.IPythonWidget.syntax_style