Skip to main content

teamColorPalette

[
  "#e31837",
  "#007bc7",
  "#fb4f14",
  "#a5acaf"
]
import { loadLeague } from "@sportsdataverse/sdvplot";
import { teamColorPalette } from "@sportsdataverse/sdvplot/chartjs";

await loadLeague("nfl");
teamColorPalette("nfl", ["KC", "LAC", "DEN", "LV"], { background: "#181a1b" });

Tags: docstring · teamColorPalette. All sdvplot examples.