Skip to content

Palette and Roles ​

Every color on the site resolves through the palette, the roles naming where each color is used, and the order a chart takes its series in. Each drawing below reads the values mise run docs:render writes from the identity's declaration, and the table folded beneath each one holds every value it shows.

The Palette ​

Every color on the site comes from this palette or from white and black, alone or mixed with a palette color, and the second table below lists each color's contrast against each ground in both schemes. A role names where a color is used, so a page never sets a hex by hand.

light
dark
134.5721:1
pageraisedsidetintlight
7.39text
7.92text
7.92text
6.39text
dark
2.09fill
1.84fill
2.37fill
1.69fill
The table beneath
ColorTokenHexMeaningRoles
Brick Redcritical#c43e47The critical state, always beside an icon and a label, and the Reference section's own color, which marks the section on its link card and carries no state there.mixed in alert
Near Blackdark#1a1a1aThe dark ground, and body text on the light ground.ink, page, mixed in alert, data_black, data_edge, glyph_dark, glyph_light, lit_number, quiet, raised, rule, side, start_stored, start_submitted, tint
Cararraground#f2f1eeThe light ground, and light text on the dark ground.ink, page, mixed in alert, data_edge, glyph_dark, glyph_light, lit_number, quiet, raised, rule, side, start_stored, start_submitted, submitted, tint
Cashmerelight#e3c3a3The board's light squares, and the lead on the dark ground.run, mixed in glyph_dark, glyph_light, tint
Walnutprimary#764017The lead color, the logo's piece, links on the light ground, and the board's dark squares.run, mixed in glyph_dark, tint
Persian Greenseries_1#009b98The first series color.No role, a chart series
Matisseseries_2#1e69a6The second series color.mixed in start_submitted, submitted
Buttered Rumseries_3#a17b0dThe third series color, the clock's brass.stored, mixed in start_stored
Ubeseries_4#8a80cbThe fourth series color.No role, a chart series
Forest Greenseries_5#1e7634The fifth series color.No role, a chart series
Red Violetseries_6#a738a2The sixth series color, the Viewer section's own, which no chart's series order takes.No role, a chart series
Mandarin Pearlwarning#f48241The warning state, always beside an icon and a label.No role
TokenOn page, LightOn page, DarkOn raised, LightOn raised, DarkOn side, LightOn side, DarkOn tint, LightOn tint, Dark
critical4.50:13.42:14.83:13.01:14.83:13.89:13.89:12.77:1
dark15.41:11.00:116.51:11.14:116.51:11.14:113.32:11.24:1
ground1.00:115.41:11.07:113.57:11.07:117.53:11.16:112.46:1
light1.48:110.44:11.58:19.20:11.58:111.88:11.28:18.44:1
primary7.39:12.09:17.92:11.84:17.92:12.37:16.39:11.69:1
series_13.03:15.09:13.24:14.48:13.24:15.79:12.62:14.12:1
series_25.13:13.01:15.49:12.65:15.49:13.42:14.43:12.43:1
series_33.47:14.44:13.72:13.91:13.72:15.05:13.00:13.59:1
series_43.08:15.00:13.30:14.40:13.30:15.69:12.67:14.04:1
series_55.03:13.06:15.39:12.70:15.39:13.48:14.35:12.48:1
series_64.98:13.09:15.34:12.72:15.34:13.52:14.31:12.50:1
warning2.29:16.73:12.45:15.92:12.45:17.65:11.98:15.44:1

The Roles ​

A page never names a color, because each part takes a role that resolves to one color in each scheme, so a chart and a page share one word for one use. A role's kind sets the contrast it holds in both schemes. A text role holds 4.5:1 or more against each ground, the ratio WCAG 2.2 sets for text,1 and a mark holds 3:1 or more against the page, the ratio it sets for a graphical object.2 A ground, a fill, and a rule hold no set ratio.

The Longest Run

Two games share a run where they reach the same positions.

A caption sets quiet text beneath a figure.

A tinted note on a ground of its own.

No game in the file read cleanly.

The Longest Run

Two games share a run where they reach the same positions.

A caption sets quiet text beneath a figure.

A tinted note on a ground of its own.

No game in the file read cleanly.

The table beneath
RoleKindMeaningLightDark
alerttextA message that something failed.#98383c, critical 76% dark, 6.27:1#de8d8b, critical 58% ground, 6.87:1
data_blackfillThe fill of Black's share of a chart's bar.#1a1a1a, dark, 15.41:1#010101, dark 30% black, 1.20:1
data_edgemarkThe outline a chart's bar holds a white share inside.#1a1a1a, dark, 15.41:1#7d7c7b, ground 50% dark, 4.18:1
glyph_darkfillThe glyph a dark square draws under a page's text.#d6c6bb, ground 77% primary, 1.47:1#322e2b, dark 86% light, 1.29:1
glyph_lightfillThe glyph a light square draws under a page's text.#eee4d9, ground 72% light, 1.11:1#403a35, dark 78% light, 1.55:1
inktextThe text of a page.#1a1a1a, dark, 15.41:1#f2f1ee, ground, 15.41:1
lit_numbertextThe move number heading the row the cursor stands on.#4f4e4e, dark 72% ground, 7.34:1#a5a5a3, ground 68% dark, 7.05:1
pagegroundThe ground of a page.#f2f1ee, ground, 1.00:1#1a1a1a, dark, 1.00:1
quiettextThe text of a caption or a label.#4f4e4e, dark 72% ground, 7.34:1#a1a09e, ground 66% dark, 6.66:1
raisedgroundThe ground of a card standing over a page.#f9f9f7, ground 45% white, 1.07:1#252525, dark 94% white, 1.14:1
ruleruleA line between two parts of a page.#bdbcba, ground 78% dark, 1.68:1#474646, dark 76% ground, 1.85:1
runtextA link, and the positions two games share.#764017, primary, 7.39:1#e3c3a3, light, 10.44:1
sidegroundThe ground of the sidebar.#f9f9f7, ground 45% white, 1.07:1#0a0a0a, dark 66% black, 1.14:1
start_storedtextThe word Start of the stored game, where the starting position stands.#6f5820, series_3 66% dark, 6.01:1#ba9f63, series_3 69% ground, 6.82:1
start_submittedtextThe word Start of the submitted game, where the starting position stands.#215e92, series_2 87% dark, 6.03:1#83a7c9, series_2 54% ground, 6.91:1
storedmarkThe stored game.#a17b0d, series_3, 3.47:1#a17b0d, series_3, 4.44:1
submittedmarkThe submitted game.#1e69a6, series_2, 5.13:1#3a78af, series_2 89% ground, 3.72:1
tintgroundThe ground of a note or a picked row.#e7e0da, ground 91% primary, 1.16:1#2e2b28, dark 88% light, 1.24:1

The Chart Series ​

A chart takes its colors in the order the series below sets them, and the drawing gives each series one player file from the store. Each file's games are counted by decade from the index, so the drawing changes as the store does.

The table beneath
DecadeAlekhine, series_1, #009b98Botvinnik, series_2, #1e69a6Spassky, series_3, #a17b0dKarpov, series_4, #8a80cbAnand, series_5, #1e7634
1900s440000
1910s1760000
1920s65541000
1930s621193000
1940s165145000
1950s023017200
1960s0242336620
1970s0162074540
1980s00349630301
1990s00180814973
2000s00185651,149
2010s0002441,295
2020s00029476

Sources

  1. World Wide Web Consortium. 2024. "Web Content Accessibility Guidelines (WCAG) 2.2," Success Criterion 1.4.3, Contrast (Minimum). https://www.w3.org/TR/WCAG22/#contrast-minimum ↩︎

  2. World Wide Web Consortium. 2024. "Web Content Accessibility Guidelines (WCAG) 2.2," Success Criterion 1.4.11, Non-text Contrast. https://www.w3.org/TR/WCAG22/#non-text-contrast ↩︎

Built from22ebd11
CodeJybbs/scotch
GamesPGN Mentor
Crateshakmaty, GPL
FacesSIL OFL 1.1
PiecesCburnett, BSD

Scotch 0.2.0, under the GPL-3.0-or-later.