Predictor and Response variables

Say that you are investigating a population of crabs that are either brown or black. You weigh a random sample to investigate if there are any weight differences between these two colour morphs.

Which is the response and predictor variable?

This is not an R or RStudio question and appears to be a homework question is statistics. as such it is not appropriate here.

For further information