7

I am working on a project which visualizes html tables automatically.

If the table includes parties, it would be great to have the color for this party. Does anyone know some page,api or something else to get these colors?

For example:

Country,Party,Color,Hex Value
US,Republican,Red,FF0000
US,Democratic,Blue,0000FF

My project site: http://github.wikunia.de/Table2Chart/

  • This looks like a nifty project but what do you mean by "parties"? – Mark Silverberg Jul 12 '14 at 17:00
  • Well in Germany sth. like SPD,CDU in the USA maybe republicans and democrats – Wikunia Jul 12 '14 at 17:18
  • 3
    Hmm, I honestly dont think there will be a better source than Wikipedia for this one. If you go through the work of extracting the information, definitely update your question so others can benefit in the future. The best I could find was a UK-specific spreadsheet here: blog.richardallen.co.uk/uk-political-party-web-colours – Mark Silverberg Jul 12 '14 at 17:28
  • 1
    I will parse the Wikipedia article in August and will add a gist for that here or sth like that. Thanks! – Wikunia Jul 12 '14 at 17:34
  • 2
    Could you please rename the question to "Colors of political parties"? Thanks! – Nicolas Raoul Jul 14 '14 at 8:15
3

Here is a list for UK political parties - (link).

enter image description here

By doing similar searches, you can find other lists hosted on Wikipedia.

http://en.wikipedia.org/wiki/Wikipedia:Index_of_Minnesota_political_parties_meta_attributes

enter image description here

I think with a few of these lists you can make a joined list of major parties. Because there are so many parties, the colors will start to overlap and be indistinguishable, so I'd stick to just a few main parties.

  • Thanks I will try to generate a JSON file and integrate it into my github project – Wikunia Nov 16 '14 at 20:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.