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/

Wikunia
  • 335
  • 2
  • 9

1 Answers1

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.

philshem
  • 17,647
  • 7
  • 68
  • 170