Pixel Capture is a little GUI written in Tcl/Tk that works with
some Fvwm functions to allow you to select colors from your
screen wallpaper and use them for your window titlebars. It
relies on a little *nix program called "grabc" to report the
values of the colors.
The Pixel Capture Tool comes up. You click the "Pick" button for
the Active Title, move the cursor to a spot inside the area of
the background that has that color, and click. Then you do the
same for the inactive color.
Then you press "Apply" and the titlebars are set to the chosen
colors. The hexadecimal values of the colors are shown in entry boxes,
so you can copy and paste. You'll be able to see if your chosen
colors have enough contrast for the text to be easily visible. You
may have to try a few times. It's surprising how different
colors can look in a gestalt like a wallpaper vs on a titlebar.
Remember "the Dress," which was white and gold, or maybe blue
and black? When you're satisfied, dismiss the GUI by pressing
"Quit."