PyDocs

Nav

Graphical user interfaces with Tk

bgcolor

turtle

function
  • bgcolor()
  • bgcolor(color, /)
  • bgcolor(r, g, b, /)
Return or set the background color of the TurtleScreen.
1 Example
>>> screen.bgcolor("orange")
>>> screen.bgcolor()
'orange'
>>> screen.bgcolor("#800080")
>>> screen.bgcolor()
(128.0, 0.0, 128.0)
from the Python docs
See Also
No see-alsos for turtle/bgcolor
0 Notes
No notes for bgcolor