{
  "id": "palette-brewer-brbg",
  "version": "1.0.0",
  "name": "ColorBrewer · BrBG",
  "name_zh": "ColorBrewer · BrBG",
  "author": "ColorBrewer / Cynthia Brewer",
  "license": "Apache-2.0",
  "category": "style",
  "status": "community",
  "created_at": "2026-10-03",
  "updated_at": "2026-10-03",
  "series": [
    "#8C510A",
    "#D8B365",
    "#F6E8C3",
    "#F5F5F5",
    "#C7EAE5",
    "#5AB4AC",
    "#01665E"
  ],
  "palette_kind": "diverging",
  "background": "#FFFFFF",
  "description": "Signed differences around an explicit zero-centred colourbar.",
  "description_zh": "表示基准两侧差值；色标以明确的零点为中心。",
  "use_zh": "表示基准两侧差值；色标以明确的零点为中心。",
  "use_en": "Signed differences around an explicit zero-centred colourbar.",
  "usage_mode": "heatmap",
  "cvd_level": "not_verified",
  "cvd_evidence_url": null,
  "source_credit": {
    "source": "ColorBrewer / Cynthia Brewer",
    "url": "https://github.com/bokeh/bokeh/blob/3.5.2/src/bokeh/palettes.py",
    "licence": "Apache-2.0",
    "upstream_table": "BrBG7",
    "direction": "reversed to low -> high",
    "scope": "Licensed colour data only; VoltPeer appearance fixture and renderer are original MIT work."
  },
  "tags": [
    "diverging",
    "brewer",
    "scientific-palette"
  ],
  "classic": true,
  "scientific_review": "not_claimed",
  "template_collection": "palette-library-200",
  "recommended_series_count": 6,
  "warning": null,
  "warning_zh": null,
  "discrete": false,
  "permissions": {
    "public_display": true,
    "registry": true,
    "automated_testing": true,
    "model_training": false
  },
  "saturation": "balanced",
  "saturation_hsv_mean": 0.473,
  "colorblind_status": "not_certified",
  "intended_background": "#FFFFFF",
  "dark_background_support": false,
  "palette_categories": [
    "diverging",
    "classic"
  ],
  "plot_code": "import matplotlib.pyplot as plt\nfrom matplotlib.colors import LinearSegmentedColormap, TwoSlopeNorm\n\n# Seven preview stops; the download includes the full 256-row table.\ncolours = ['#8C510A', '#D8B365', '#F6E8C3', '#F5F5F5', '#C7EAE5', '#5AB4AC', '#01665E']\ncmap = LinearSegmentedColormap.from_list('selected', colours)\nfig, ax = plt.subplots()\nnorm = TwoSlopeNorm(vmin=-limit, vcenter=0, vmax=limit)\nimage = ax.imshow(values, cmap=cmap, norm=norm)\nfig.colorbar(image, ax=ax, label=unit)\nfor spine in ax.spines.values():\n    spine.set_visible(True)\nfig.savefig('new-figure.svg')\n",
  "preview_series_indices": [
    0,
    1,
    2,
    3,
    4,
    5
  ]
}
