I write shaders and I often use HSL colour space rather than RGB. This solves a few problems: keeps contrast ratios consistent (by keeping luminance, L constant). Adjusts hue, H, whilst keeping the colour palette in harmony.
It also means I need only modify 1 value rather than 3.
What are other ways in which programmers reframe problems to make them conceptual easier and the implementation more straightforward?