I am using code Highlighting for Python 3.7 with the minted package. I am using the tango color scheme (you can see all the color schemes minted uses in this page).

I want to know the hex/rgb/cymk color code of the colors in this scheme (I want to use the same colors for other things in my document) but I cannot find them anywhere. Does anyone know these codes or/and where I can find them?

Thank you.

1 Answer 1


The colours can be found in the pygments source on GitHub: tango.py and are based on the Tango colour scheme described here: Tango Icon Theme Guidelines.

Tango colours

  • Do you happen to know which of these are the ones chosen for the code in minted?
    – user181417
    Commented Aug 1, 2019 at 16:03
  • 1
    You can look in the tango.py code I linked to.
    – Alan Munn
    Commented Aug 1, 2019 at 16:04
  • Ah you are right, thank you very much.
    – user181417
    Commented Aug 1, 2019 at 16:05
  • 2
    ah I love the efficiency and altruism on this site. sometimes it's "here's bread, eat.", but most of the time it's "your bread is bad (or not as tasty as it could be). here's a recipe for better bread. try that instead." I love it.
    – thymaro
    Commented Aug 2, 2019 at 5:13

You must log in to answer this question.