I'm ignorant in the world of image processing. I'm highlighting rows in a grid by setting Color in OnPrepareCanvas (according to calculated criteria - bad = red, good = green, OKish = Yellow or Orange. Unimportant = white. The unimportant selected rows are highlighted in light gray automatically for me by the grid itself)
If the row is the selected row, I want to to highlight the row with a slighter darker version of the color. Instead of hard-coding alternatives, is there a simple DarkenColor(AColor: TColor; APercent: Double): TColor anywhere? (Or equivalent)
I've looked, and the ones I can find are in dedicated image processing libraries, which I *think* involves introducing levels of complexity beyond what I'm actually after...