Yes: a public wiki page loads by its address and its skin repaints, live
How to preview a color palette on a MediaWiki wiki
To preview a color palette on a MediaWiki wiki, paste the address of any public page into Recolor (recolor.page), a website color changer, and press Space to repaint the skin live without editing the wiki. In testing on October 8, 2026, Wikipedia's article on color in the Vector 2022 skin found 29 colors and changed 84% of its elements. You can test palettes live in the Recolor app, find a scheme that works, and then add the resulting colors to MediaWiki:Common.css.
Last updated
| What you have | What Recolor shows | What to do |
|---|---|---|
| A public wiki page | The skin repainted: 84% of Wikipedia's elements with scripts, 100% without | Paste the page's address, press Space |
| A wiki behind a login | The page your browser sees, once saved | Save the page and upload it |
| Links, radios and the contents box | They take the main color's swatch and stay readable | Judge that swatch as the link color |
| The colors you chose | Hex codes or CSS variables in Export | MediaWiki:Common.css, edited by an interface administrator |
Getting a wiki page into Recolor
Paste the address of any public page of the wiki into the address field, press Load, then press Space. According to Recolor's site matrix, on October 8, 2026 the Color article was ready in 1.0 seconds with its scripts and 1.0 seconds without, and nothing broke with scripts on.
A wiki that needs a login, or one on your own network, cannot be fetched directly. Open the page in your own browser, save it, and use loading a page to upload the file with its asset base URL. Recolor loads the page's own stylesheets, so the preview shows the skin your readers get.
What repaints in the skin
On Wikipedia the links, the radio buttons and the contents box take the main color's swatch and stay readable. Where a new color would make text hard to read, Recolor gives back part of the lightness change until it reads at 4.5:1, or as well as the page did where that was less, as documented in mapping. Images keep their own colors throughout every palette change.
The page on what loads lists every tested site. The Codex docs list the color design
tokens the Vector 2022 skin draws from, such as --color-progressive, the blue of links and buttons,
--color-base for text and --background-color-base for the page. Recolor reads those colors in the page
like any other CSS values.
Writing the colors into the wiki
mediawiki.org's manual says MediaWiki:Common.css is a page of the wiki, loaded after the skin's stylesheet,
for every skin and every user. A page per skin, such as MediaWiki:Vector-2022.css, adds to it. Editing them
needs the interface administrator right. Site CSS does not load on the login and preferences pages.
Open Export, copy the CSS variables from the export formats and put them in
MediaWiki:Common.css:
/* MediaWiki:Common.css, loaded after the skin's stylesheet */
:root {
--color-1: #264653;
--color-2: #2a9d8f;
--color-3: #e9c46a;
--color-4: #f4a261;
--color-5: #e76f51;
}mediawiki.org's night mode recommendations say CSS variables can only be defined in gadgets and site CSS such
as MediaWiki:Common.css, and that a template's styles should read a variable with a fallback and always set
a text color with a background:
/* Template:Example/styles.css */
.pane {
background-color: var(--color-3, #e9c46a);
color: var(--color-base, #202122);
}The same page says the stability of the Codex tokens is not guaranteed yet, and that styles for night mode go
under the skin-theme-clientpref-night class. Check the palette in night mode too. If the changes do not show
at once, mediawiki.org's manual says a hard refresh of the browser may be needed.
Common questions
Does Recolor edit my wiki?
No. Recolor fetches the published page and repaints a copy in your browser; no page of the wiki changes.
Can I preview a private wiki?
Yes, as a saved page: open it in your browser, save it and upload the file, since Recolor cannot sign in.
Do I need admin rights to try a palette?
No. Anyone can load a public page into Recolor; only writing the colors into MediaWiki:Common.css needs the interface administrator right.
Does it work with skins other than Vector 2022?
Yes. Recolor reads whatever stylesheets the page loads; the manual says MediaWiki:Common.css applies to all skins.
Do images in articles change color?
No. Images keep their own colors; Grey images in the Mapping menu helps you judge the rest.
Is it free?
Yes. Loading a page, generating palettes and every export format are free, without an account, as detailed on pricing.
Sources
- mediawiki.org, Manual:Interface/Stylesheets mediawiki.org
- mediawiki.org, Manual:CSS mediawiki.org
- mediawiki.org, Recommendations for night mode compatibility on Wikimedia wikis mediawiki.org
- Codex, Color design tokens doc.wikimedia.org
- Recolor's site matrix recolor.page