Is the word "tendency" used in the same way in the following two sentences?

A tendency to be too strict.

Denim has a tendency to fade.
the same meaning