Interface: ThreeColorOptions
Defined in: packages/sdvplot/src/three/tube.ts:9
teamColorPalette options.
Properties
background?
optionalbackground?:string
Defined in: packages/sdvplot/src/three/tube.ts:23
The scene's background (what the colours are seen against, such as the surface under them). Given, a colour under
3:1 contrast against it is swapped for the team's other colour, else moved towards white (on a dark background)
or black (a light one) until it reads; a colour that would then sit too close to an earlier team's (CIE76 ΔE under
20) takes the team's other colour, or the nearest colour to its own that is distinct and still reads; failing that
it is kept, with one warning. A team that does not resolve keeps fallback and stays out of that search.
fallback?
optionalfallback?:string
Defined in: packages/sdvplot/src/three/tube.ts:15
The colour of a team that does not resolve. Default "#808080".
idSystem?
optionalidSystem?:IdSystem
Defined in: packages/sdvplot/src/three/tube.ts:13
season?
optionalseason?:SeasonInput
Defined in: packages/sdvplot/src/three/tube.ts:12
which?
optionalwhich?:Which
Defined in: packages/sdvplot/src/three/tube.ts:11
"primary" (default) or "secondary": the team colour each team gets.