The invert-sepia-saturate-hue recipe applies, in order: inversion (black becomes white, whites become transparent-adjacent), sepia conversion (the now-white ink is tinted toward brown), saturation adjustment (the brown is pulled toward a specific warmth), and hue rotation (the warmth is shifted along the color wheel to match the page's ambient palette). The result, applied to a monochrome stipple, yields an ink-on-parchment appearance suitable for sepia-themed reading modes. The recipe is a workhorse because each primitive is well-behaved within its normal range, and the composition degrades gracefully when one parameter is pushed slightly. It fails when any parameter is pushed hard, or when the source image has tonal complexity beyond pure black on transparent.
The recipe emerged from experimentation rather than theory. Early versions of the wiki's illustration system used simple CSS invert for dark mode and left light mode untouched. When sepia mode was added, naive approaches — a sepia overlay, a background-color swap — produced illustrations that looked grafted onto the page rather than belonging to it. The