{
 "description": "The color-contrast() CSS function picks a color from a list that has the most contrast with another color.",
 "description_html": "The <code>color-contrast()</code> CSS function picks a color from a list that has the most contrast with another color.",
 "discouraged": {
  "according_to": [
   "https://github.com/w3c/csswg-drafts/issues/7557",
   "https://github.com/w3c/csswg-drafts/commit/36594e9e8496a5ca83f1f1ee2b4a83bcdf28753b"
  ],
  "alternatives": [
   "contrast-color"
  ],
  "reason": "The CSS Color specification renamed color-contrast() to contrast-color().",
  "reason_html": "The CSS Color specification renamed <code>color-contrast()</code> to <code>contrast-color()</code>.",
  "removal_date": "2022-10-19"
 },
 "group": [
  "color-types"
 ],
 "kind": "feature",
 "name": "color-contrast()",
 "spec": [
  "https://drafts.csswg.org/css-color-5/#contrast-color"
 ],
 "status": {
  "baseline": false,
  "support": {}
 },
 "id": "color-contrast",
 "groups": [
  "color-types"
 ],
 "specs": [
  {
   "url": "https://drafts.csswg.org/css-color-5/#contrast-color",
   "seriesComposition": "delta",
   "shortname": "css-color-5",
   "series": {
    "shortname": "css-color",
    "currentSpecification": "css-color-4",
    "title": "CSS Color",
    "shortTitle": "CSS Color",
    "releaseUrl": "https://www.w3.org/TR/css-color/",
    "nightlyUrl": "https://drafts.csswg.org/css-color/"
   },
   "seriesVersion": "5",
   "seriesPrevious": "css-color-4",
   "seriesNext": "css-color-6",
   "organization": "W3C",
   "groups": [
    {
     "name": "Cascading Style Sheets (CSS) Working Group",
     "url": "https://www.w3.org/groups/wg/css/"
    }
   ],
   "release": {
    "url": "https://www.w3.org/TR/css-color-5/",
    "status": "Working Draft",
    "filename": "Overview.html"
   },
   "nightly": {
    "url": "https://drafts.csswg.org/css-color-5/",
    "status": "Editor's Draft",
    "alternateUrls": [
     "https://w3c.github.io/csswg-drafts/css-color-5/"
    ],
    "repository": "https://github.com/w3c/csswg-drafts",
    "sourcePath": "css-color-5/Overview.bs",
    "filename": "index.html"
   },
   "title": "CSS Color Module Level 5",
   "source": "w3c",
   "shortTitle": "CSS Color 5",
   "categories": [
    "browser"
   ],
   "standing": "good",
   "tests": {
    "repository": "https://github.com/web-platform-tests/wpt",
    "testPaths": [
     "css/css-color"
    ]
   },
   "fragment": "contrast-color"
  }
 ],
 "mdnUrls": [],
 "standardPositions": [],
 "hasNegativeStandardPosition": false,
 "stateOfSurveys": [],
 "chromeUseCounters": {},
 "interop": [],
 "wpt": {
  "url": "https://wpt.fyi/results?q=feature:color-contrast"
 },
 "developerSignals": null,
 "bugs": {},
 "useCases": null,
 "baselineLowDateAsObject": null,
 "baselineHighDateAsObject": null
}