Yes, we can clearly say that capital gains is unearned. Unearned income can also be taxable.