PyDocs

Nav

Graphical user interfaces with Tk

color

turtle

function
  • color()
  • color(color, /)
  • color(r, g, b, /)
  • color(pencolor, fillcolor, /)
Return or set the pencolor and fillcolor.
1 Example
>>> turtle.color("red", "green")
>>> turtle.color()
('red', 'green')
>>> color("#285078", "#a0c8f0")
>>> color()
((40.0, 80.0, 120.0), (160.0, 200.0, 240.0))
from the Python docs
See Also
No see-alsos for turtle/color
0 Notes
No notes for color