No, people can also inherit hair color from their grandparents and even earlier ancestors who might or might not be closely related. Distant relatives may have played a role too as red hair is a combination of specific genes.