hynky's picture
hynky HF staff
tmp
e4890d1
raw
history blame
217 Bytes
export const COLORS = [
"#1f77b4", "#ff7f0e", "#2ca02c", "#d62728", "#9467bd",
"#8c564b", "#e377c2", "#7f7f7f", "#bcbd22", "#17becf"
];
export function getColor(index) {
return COLORS[index % COLORS.length];
}