Return a list describing the visuals available for the widget’s screen. Each item consists of a visual class (see winfo_visual()) followed by an integer depth. If includeids is true, the X identifier for the visual is also included.
tkinter/Misc.winfo_visualsavailable
Misc.winfo_visualsavailable