PYTHON TURTLE · COLOR TOOL

Find your color.

Choose a shade. Copy the hex code. Paste it inside the quotes in Turtle.

Try color() →
#008080

Use # and six digits: 0–9 or A–F. Short codes such as #abc work too.

Use the color picker above to choose a shade.

The # is included when you copy.

color("#008080")

Why does a solid-colored word have so many colors?

The eyedropper reads one displayed pixel. A letter’s edge can have a different color from its center.

Letters cut across a square grid. When an edge covers part of a pixel, the computer blends the letter’s color with the background. This smoothing is called antialiasing.

Some screens use another trick. Many LCD pixels contain red, green, and blue parts. Text rendering such as Windows ClearType can control those parts separately. Zooming in can reveal colored fringes, even around black letters.

The colors you see depend on the browser, operating system, display, and scaling. The magnifier shows the rendered pixels; it doesn’t show the screen’s physical parts.

Compare the edges

Smooth edges blend your selected color with white. Look for lighter shades around the letters.

Original size
Magnified · click or tap a pixel
Choose a pixel to inspect its hex code.

This is a simplified model of text smoothing. It lets you compare the same letter shapes; your browser may render real text differently.

Try it with the eyedropper

Sample the center of a letter in the page heading, then its edge, then the background. Compare the three hex codes. To copy a solid shape’s original color, sample well inside it.

Microsoft: how ClearType works · About the browser eyedropper

Start with a palette

Click a color to select it, then copy.