One verse

Srimad Bhagavatam 11.25.9

11.25.9

पुरुषं सत्त्वसंयुक्तमनुमीयाच्छमादिभि: । कामादिभी रजोयुक्तं क्रोधाद्यैस्तमसा युतम् ॥ ९ ॥

puruṣaṁ sattva-saṁyuktam anumīyāc chamādibhiḥ kāmādibhī rajo-yuktaṁ krodhādyais tamasā yutam

puruṣam
a person
sattva-saṁyuktam
endowed with the mode of goodness
anumīyāt
can be deduced
śama-ādibhiḥ
by his qualities of sense control and so on
kāma-ādibhiḥ
by lust and so on
rajaḥ-yuktam
one who is in the mode of passion
krodha-ādyaiḥ
by anger and so on
tamasā
with the mode of ignorance
yutam
one who is endowed

A person exhibiting qualities such as self-control is understood to be predominantly in the mode of goodness. Similarly, a passionate person is recognized by his lust, and one in ignorance is recognized by qualities such as anger.