Stay organized with collections
Save and categorize content based on your preferences.
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).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[[["\u003cp\u003e\u003ccode\u003eColor\u003c/code\u003e is a six-digit hexadecimal Red-Green-Blue (RGB) code used to represent a web-displayable color.\u003c/p\u003e\n"],["\u003cp\u003eThis RGB code is used within the \u003ccode\u003eParty\u003c/code\u003e object to assign a specific color to each political party.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eColor\u003c/code\u003e entity is consistently applied across all feed types within the system.\u003c/p\u003e\n"],["\u003cp\u003eExamples provided demonstrate the implementation of the \u003ccode\u003eColor\u003c/code\u003e entity within both XML and JSON data formats.\u003c/p\u003e\n"]]],[],null,["A six-digit Red-Green-Blue (RGB) code that can be displayed with HTML.\n| **Note:** This entity is the same for all feed types.\n\nUsed in [`Party`](/civics-data/reference/party) to associate a\nweb-displayable color with each party. The RGB code is specified in hexadecimal,\nsuch that the RGB code for the color green is `00ff00` (`#00` + `#ff` + `#00`).\n\nExamples \n\nXML \n\n```xml\n \u003cParty objectId=\"par0004\"\u003e\n \u003cAbbreviation\u003eIND\u003c/Abbreviation\u003e\n \u003cColor\u003e202f66\u003c/Color\u003e\n \u003cName\u003e\n \u003cText language=\"en\"\u003eIndependent\u003c/Text\u003e\n \u003cText language=\"es\"\u003eIndependiente\u003c/Text\u003e\n \u003cText language=\"fr\"\u003eIndépendant\u003c/Text\u003e\n \u003cText language=\"pl\"\u003eNiezależny\u003c/Text\u003e\n \u003cText language=\"hi\"\u003eस्वतंत्र\u003c/Text\u003e\n \u003c/Name\u003e\n \u003c/Party\u003e\n```\n\nJSON \n\n```json\n \"Party\": {\n \"objectId\": \"par0004\",\n \"Abbreviation\": \"IND\",\n \"Color\": \"202f66\",\n \"Name\": {\n \"Text\": [\n {\n \"language\": \"en\",\n \"value\": \"Independent\"\n },\n {\n \"language\": \"es\",\n \"value\": \"Independiente\"\n },\n {\n \"language\": \"fr\",\n \"value\": \"Indépendant\"\n },\n {\n \"language\": \"pl\",\n \"value\": \"Niezależny\"\n },\n {\n \"language\": \"hi\",\n \"value\": \"स्वतंत्र\"\n }\n ]\n }\n }\n```"]]