Rabbi Yochanan, when he was departing from the world, said to his students: Please do not bury me in colored garments, and not in white garments, [and not in black garments]. If I stand among the righteous, I will not be ashamed; and among the wicked, I will not be humiliated.
Rabbi Yochanan's Dyed Burial Shrouds and the Day of Judgment
Midrash Tanchuma Buber, Vayechi 6:3
ר' יוחנן כשהיה מסתלק מן העולם, אמר לתלמידיו אל נא תקברוני אלא בכלים צבועים, ולא בכלים לבנים, [ולא בכלים שחורים], אם אעמוד בין הצדיקים לא אבוש, ובין הרשעים לא אכלם.