Three pages of free printable write the code worksheets using colors and shapes — suited for preschool and kindergarten children building early logic skills and shape recognition. Each page shows a color-shape key that children follow to draw the correct shape for each color shown.
Unlike color coding with letters or numbers, this activity uses drawing instead of writing — making it accessible for children who are still building writing confidence.
Works with pencils, crayons, or washable markers.
What's Included
Each of the three worksheets includes:
- A color-shape key with four color-shape pairs displayed at the top
- Five problems, each showing four colors
- Large open drawing spaces sized for comfortable shape drawing
- A clean layout that supports focused, independent work
The three pages use different shape and color combinations so children get varied practice across all three sheets.
Page Previews

Downloads — Page 1

Downloads — Page 2

Downloads — Page 3
How to Use These Worksheets
- Review the color-shape key together before starting.
- Ask your child to name each color and shape aloud.
- Have them draw the correct shape for each color shown.
- Encourage slow, careful work and checking the key as needed.
- Review the completed problems together and talk about the rule used.
Start with page 1 and move through in order, or let children choose any page — each one works independently.
Skills These Worksheets Support
- Logical thinking — translating a color into a shape response using a consistent rule
- Shape recognition — identifying and reproducing familiar shapes from memory
- Visual discrimination — noticing color differences carefully before responding
- Working memory — holding the rule in mind across each problem
- Fine motor coordination — controlled drawing for early writers and drawers
More Logic Activities
Looking for more write the code activities? Try Write the Code: Colors to Letters or Write the Code: Colors to Numbers. Browse all Logic Activities.









