teamColorPalette
[ "#c4ced4", "#abae8a" ]
import { loadLeague } from "@sportsdataverse/sdvplot";
import { teamColorPalette } from "@sportsdataverse/sdvplot/three";
await loadLeague("mlb");
teamColorPalette("mlb", ["NYY", "CWS"], { background: "#395d33" }); // readable on sporty's baseball grass
Tags: docstring · teamColorPalette. All sdvplot examples.