{
 "caniuse": [
  "css-color-function"
 ],
 "compat_features": [
  "css.types.color.color",
  "css.types.color.color.mixed_type_parameters"
 ],
 "description": "The color() function picks a color from a given color space. Wide gamut color spaces like display-p3 allow showing more vibrant and saturated colors than the standard srgb color space.",
 "description_html": "The <code>color()</code> function picks a color from a given color space. Wide gamut color spaces like <code>display-p3</code> allow showing more vibrant and saturated colors than the standard <code>srgb</code> color space.",
 "group": [
  "color-types"
 ],
 "kind": "feature",
 "name": "color()",
 "spec": [
  "https://drafts.csswg.org/css-color-4/#color-function"
 ],
 "status": {
  "baseline": "high",
  "baseline_high_date": "2025-11-09",
  "baseline_low_date": "2023-05-09",
  "by_compat_key": {
   "css.types.color.color": {
    "baseline": "high",
    "baseline_high_date": "2025-11-09",
    "baseline_low_date": "2023-05-09",
    "support": {
     "chrome": "111",
     "chrome_android": "111",
     "edge": "111",
     "firefox": "113",
     "firefox_android": "113",
     "safari": "15",
     "safari_ios": "15"
    }
   },
   "css.types.color.color.mixed_type_parameters": {
    "baseline": "high",
    "baseline_high_date": "2025-11-09",
    "baseline_low_date": "2023-05-09",
    "support": {
     "chrome": "111",
     "chrome_android": "111",
     "edge": "111",
     "firefox": "113",
     "firefox_android": "113",
     "safari": "15",
     "safari_ios": "15"
    }
   }
  },
  "support": {
   "chrome": "111",
   "chrome_android": "111",
   "edge": "111",
   "firefox": "113",
   "firefox_android": "113",
   "safari": "15",
   "safari_ios": "15"
  }
 },
 "id": "color-function",
 "groups": [
  "color-types"
 ],
 "specs": [
  {
   "url": "https://drafts.csswg.org/css-color-4/#color-function",
   "seriesComposition": "full",
   "shortname": "css-color-4",
   "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": "4",
   "nightly": {
    "url": "https://drafts.csswg.org/css-color-4/",
    "status": "Editor's Draft",
    "alternateUrls": [
     "https://w3c.github.io/csswg-drafts/css-color-4/",
     "https://w3c.github.io/csswg-drafts/css-color/"
    ],
    "repository": "https://github.com/w3c/csswg-drafts",
    "sourcePath": "css-color-4/Overview.bs",
    "filename": "index.html"
   },
   "seriesPrevious": "css-color-3",
   "seriesNext": "css-color-5",
   "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-4/",
    "status": "Candidate Recommendation Draft",
    "filename": "Overview.html"
   },
   "title": "CSS Color Module Level 4",
   "source": "w3c",
   "shortTitle": "CSS Color 4",
   "categories": [
    "browser"
   ],
   "standing": "good",
   "tests": {
    "repository": "https://github.com/web-platform-tests/wpt",
    "testPaths": [
     "css/css-color"
    ]
   },
   "fragment": "color-function"
  }
 ],
 "mdnUrls": [
  {
   "slug": "Web/CSS/Reference/Values/color_value/color",
   "title": "`color()` CSS function",
   "anchor": null,
   "url": "https://developer.mozilla.org/docs/Web/CSS/Reference/Values/color_value/color"
  }
 ],
 "standardPositions": [],
 "hasNegativeStandardPosition": false,
 "stateOfSurveys": [
  {
   "name": "State of CSS 2025",
   "url": "https://2025.stateofcss.com/en-US/features/#reading_list",
   "question": "reading_list",
   "subQuestion": "reading_list",
   "path": "dataAPI.surveys.state_of_css.css2025.reading_list.reading_list.combined.allEditions.0.buckets.16.entity"
  },
  {
   "name": "State of CSS 2025",
   "url": "https://2025.stateofcss.com/en-US/features/#all_features",
   "question": "features",
   "subQuestion": "all_features",
   "path": "dataAPI.surveys.state_of_css.css2025.features.all_features.17.entity"
  },
  {
   "name": "State of CSS 2024",
   "url": "https://2024.stateofcss.com/en-US/features/#reading_list",
   "question": "reading_list",
   "subQuestion": "reading_list",
   "path": "dataAPI.surveys.state_of_css.css2024.reading_list.reading_list.responses.currentEdition.buckets.16.entity"
  },
  {
   "name": "State of CSS 2024",
   "url": "https://2024.stateofcss.com/en-US/features/#all_features",
   "question": "features",
   "subQuestion": "all_features",
   "path": "dataAPI.surveys.state_of_css.css2024.features.all_features.16.entity"
  }
 ],
 "chromeUseCounters": {
  "percentageOfPageLoad": 0.00683437,
  "url": "https://chromestatus.com/metrics/webfeature/timeline/popularity/169"
 },
 "interop": [
  {
   "year": 2022,
   "label": "interop-2022-color",
   "url": "https://wpt.fyi/interop-2022?feature=interop-2022-color"
  },
  {
   "year": 2023,
   "label": "interop-2023-color",
   "url": "https://wpt.fyi/interop-2023?feature=interop-2023-color"
  }
 ],
 "wpt": {
  "url": "https://wpt.fyi/results?q=feature:color-function"
 },
 "developerSignals": null,
 "bugs": {},
 "baselineLowDateAsObject": "2023-05-09T00:00:00.000Z",
 "baselineHighDateAsObject": "2025-11-09T00:00:00.000Z"
}