From Wikipedia:
Males have a black back, often with greenish gloss. Females' backs have a brown hue, contrasting with the black remiges...
Immature birds are grey instead of black and have a markedly sandy hue on the wings, with light feather fringes appearing as a whitish line in flight.