Using Qt 4.6.0 and qwt 5.2.0

I want the text in my legend to match the color of the curve it represents. Is there a way to do that?