This is the documentation page for Module:Color

This module implements {{Color}}.

How to Update

  1. Visit MediaWiki:Gadget-Colors.css. Here are the instructions on how to add colors:
    • If you have multiple (or you have one and you're not sure of the format), you can use this link to generate the code (type your color names in the big thing at the top, where it says "test string", each on a new line. Then, copy the result from the bottom.)
    • Replace #hexcode with your hex code(s).
    • Check whether the colors will look good on light or dark mode using WebAIM's Contrast Checker. Currently, our light mode background color is #fff and our dark mode background color is #111a20. If the colors fail multiple checks on one mode, try tweaking it.
    • You have to add the light mode colors to the light mode block (starts at the top) and the dark mode colors to the dark mode block (starts around line 100).
    • Now add your colors to the block starting around line 260 titled /* [[Template:Color]] */. Use this to generate the code (or hit Substitution on the left sidebar of the previous link you used).
  2. In this module, update local colors table starting at line 7 with your new color(s). (here you go)