FontBrightness / BackgroundBrightness — how we arrived at this solution

Every theme (whether Alien Blood, Gruvbox, Everforest or your own Custom colors) should be fine-tunable without having to define a completely new color scheme right away. The obvious first idea: a free percentage value, e.g. FontBrightness=-37. That is exactly what we rejected.

Why no free percentage value

An arbitrary number can never be checked against every theme in advance. At -37 Gruvbox might still look fine, while the same number makes the text almost invisible in Everforest — nobody tested it, it "probably" works, until it doesn't. A text field for a free value simply shifts the risk onto the user, without us ever being able to say: "We checked this."

The solution: fixed, curated steps instead of a free value. -3 to +3, seven steps in total, 0 is neutral. A small, finite set — every single step can actually be checked against every existing theme, instead of hoping for the best.

Why seven steps and not more or fewer

Too few steps (e.g. just on/off, or three steps) give too little control for real fine-tuning. Too many (e.g. twenty) would water down the principle again — with twenty steps, realistically nobody would check every single one against every theme any more, and we'd be back to untested trust. Seven steps are fine enough for real adjustment, but still few enough to actually go through all of them.

Why font and background respond differently

FontBrightness shifts all text-like colors together, by ±7 percentage points of lightness per step (at most ±21 at step 3). BackgroundBrightness moves in a narrower range: only ±5 percentage points per step (at most ±15).

The background is the largest contiguous area on screen and the most sensitive to contrast problems — if the background drifts too far, everything on top of it immediately becomes hard to read. Text covers far less area and tolerates a somewhat bigger shift before it gets really unpleasant. Hence two ranges of different width instead of one shared value.

Why HSL lightness instead of a simple RGB shift

Simply shifting all RGB channels by the same amount would quickly have made saturated theme colors look washed out or muddy. Instead, each color is first converted to HSL, only the lightness value is shifted, then it's converted back to RGB — hue and saturation are preserved, only the brightness changes, just as you'd expect.

The safeguard that remains anyway

Even with curated individual steps, nothing stops anyone from setting FontBrightness=3 AND BackgroundBrightness=3 at the same time — a combination checked step by step, but which together can still end up too low in contrast. That's why SnipClip additionally checks the actual contrast between foreground and background when loading. If it's too low, a safe fallback (the unadjusted theme) kicks in automatically, and a warning line appears in the Alt+Enter window — so curated steps alone aren't quite enough, the runtime check remains as a second safeguard.

Setting

[Theme]
FontBrightness=0
BackgroundBrightness=0

Both -3 to +3, default 0 (unchanged).