UV layouts: what determines their color?

I’ve been exporting UV layouts today and noticed that they don’t always end up having the same colors. the edges are always black, but the faces are sometimes gray, sometimes very dark green.
Is there a way to control this and set my own colors? even if it’s a modification of the script, I just can’t find the right place there.