Black people are good at basketball. This is a stereotype. Not all black people are good at basketball, but assuming they were because of X amount of them being good at basketball would be a stereotype. This stereotype is derived from some amount of black people being good at basketball.
Black people are green. = lie.
Black people are good at basketball. = stereotype.
The difference in these two statements? one is partially true.