Skip to main content

teamColorPalette

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

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

Tags: docstring · teamColorPalette. All sdvplot examples.