returning d3.rgb of the foreground color