File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ key to exit the pager.
157157
158158Another way to find out about functions is to browse the `online documentation `_.
159159
160- .. _online documentation : http://docs.python.org/library/turtle
160+ .. _online documentation : http://docs.python.org/3/ library/turtle
161161
162162
163163.. caution ::
@@ -173,6 +173,10 @@ Another way to find out about functions is to browse the `online documentation`_
173173 "red," "green," and "violet." See the `colours manual `_ for an extensive
174174 list.
175175
176+ If you want to set an RGB value, make sure to run ``turtle.colormode(255) ``
177+ first. Then for instance you could run ``turtle.color(250, 0, 0) `` to set
178+ a red colour.
179+
176180 .. _colours manual : http://www.tcl.tk/man/tcl8.5/TkCmd/colors.htm
177181
178182Drawing a rectangle
You can’t perform that action at this time.
0 commit comments