Śrīmad-Bhāgavatam · Text 10.3.20
Who is speaking and story frame
स त्वं त्रिलोकस्थितये स्वमायया
बिभर्षि शुक्लं खलु वर्णमात्मन: ।
सर्गाय रक्तं रजसोपबृंहितं
कृष्णं च वणन तमसा जनात्यये ॥ २० ॥
sa tvaṁ tri-loka-sthitaye sva-māyayā
bibharṣi śuklaṁ khalu varṇam ātmanaḥ
sargāya raktaṁ rajasopabṛṁhitaṁ
kṛṣṇaṁ ca varṇaṁ tamasā janātyaye
My Lord, Your form is transcendental to the three material modes, yet for the maintenance of the three worlds, You assume the white color of Viṣṇu in goodness; for creation, which is surrounded by the quality of passion, You appear reddish; and at the end, when there is a need for annihilation, which is surrounded by ignorance, You appear blackish.
Read Śrīla Prabhupāda's purport on Vedabase.io