Page Summary
-
Color is a six-digit hexadecimal RGB code used in HTML.
-
It is used in the
Partyentity to associate a web-displayable color with each party. -
Examples are provided for how
Coloris represented in both XML and JSON formats within aPartyobject.
A six-digit Red-Green-Blue (RGB) code that can be displayed with HTML.
Used in Party to associate a
web-displayable color with each party. The RGB code is specified in hexadecimal,
such that the RGB code for the color green is 00ff00 (#00 + #ff + #00).
Examples
XML
<Party objectId="par0004"> <Abbreviation>IND</Abbreviation> <Color>202f66</Color> <Name> <Text language="en">Independent</Text> <Text language="es">Independiente</Text> <Text language="fr">Indépendant</Text> <Text language="pl">Niezależny</Text> <Text language="hi">स्वतंत्र</Text> </Name> </Party>
JSON
"Party": { "objectId": "par0004", "Abbreviation": "IND", "Color": "202f66", "Name": { "Text": [ { "language": "en", "value": "Independent" }, { "language": "es", "value": "Independiente" }, { "language": "fr", "value": "Indépendant" }, { "language": "pl", "value": "Niezależny" }, { "language": "hi", "value": "स्वतंत्र" } ] } }