When red and green highlights are difficult to distinguish, checking a code change can take another pass just to work out what was added or removed.
I make Diff Anything, a local file-comparison app for Mac and Windows. Its settings include a blue-and-yellow alternative to the default red-and-green palette.
Change the palette
- Open Settings.
- Under Appearance, find Difference colors.
- Choose Blue and yellow, then Save Settings.
Additions appear in blue, removals in yellow, and changed values in neutral gray. The setting works in light and dark themes.
Check the meaning as well as the highlight
Try a small pair of JSON files with one added field, one removed field, and one changed value. That gives you a familiar result to check before reviewing a larger file.
The files and comparison results are the same in these images. Written Added, Removed, and Changed labels provide another cue alongside color.
A palette is a preference to try, rather than a promise that it suits everyone's vision. Check it with files you know and keep the written labels in your review.
The color setting is included in Free. Comparisons run locally, with no AI involved.


Top comments (0)