I would do it like this:
.css-gradient(darken(#20416A,10%),darken(#3D69A5,10%))
Of course, you can also:
.css-gradient(@from:
And then just call it:
.css-gradient(darken,10%);
or
.css-gradient(#20416A, #3D69A5);
or
.css-gradient(darken,5%,#00ff00,#ff0000);
source share