Color-code SQL query "Timeline" stripes according to stacktrace

The code is pretty simple except for the code to generate the colors, but that's isolated and thoroughly confirmed, though not unit tested.  I'd be glad to adapt to your liking.