These images show the colors available when using functions like pencolor or fillcolor in turtle drawing. Note that capitalization is ignored entirely, so a string like "bLuE" will result in the same color as "blue" or "Blue". Click on a color below to see its turtle name, CSS name, hex code, or RGB values.
The turtle drawing functions support a pseudo-color name called erase. When drawing with pen erase, the canvas is erased of color under the turtle and made transparent again. Learn how to use colors effectively in Python Turtle graphics, from basic named colors to RGB and hex codes, and how to create gradients for stunning visuals.
color (colorcode) Change the color of the turtle pen. The colorcode may be a number from 0 to 15 representing the standard turtle graphics colors. 0 black 1 blue 2 lime 3 cyan 4 red 5 magenta 6 yellow 7 white 8 brown 9 tan 10 green 11 aqua 12 salmon 13 purple 14 orange 15 gray The colorcode may also be a quoted string with any acceptable CSS.
🐢Ultimate guide to Python Turtle colors! 🌈Full color list. Use fill color, background color, hex, RGB colors in Python turtle graphics art. Turtle Graphics Colors List 1.
Red: A bold and fiery color that symbolizes passion and energy. Perfect for creating eye-catching designs that command attention. 2.
Blue: A calming and serene color that evokes a sense of tranquility. Ideal for creating peaceful and harmonious compositions. 3.
Source code: Lib/turtle.py Introduction: Turtle graphics is an implementation of the popular geometric drawing tools introduced in Logo, developed by Wally Feurzeig, Seymour Papert and Cynthia Solo. As always in programming, the turtle knows only English color names. The following list is not complete, but here are some examples: yellow, gold, orange, red, maroon, violet, magenta, purple, navy, blue, skyblue, cyan, turquoise, lightgreen, green, darkgreen, chocolate, brown, black, gray, white.
PROGRAMMING CONCEPTS: Drawing with colors. Python Turtle Cheat Sheets Getting ready to draw import turtle Make all the turtle commands available to your program turtle.mode('logo') Set the mode turtle.speed(integer) Set the animation speed of the turtle. 1 = slowest, 10 = fastest.