Help your child explore early logic and visual thinking with this Write the Code: Colors to Shapes worksheet.
In this activity, children look at a color–shape key and apply the rule by drawing the correct shape for each color shown.
This worksheet introduces rule based problem solving in a hands on, screen free way, while also supporting shape recognition and early drawing confidence. By translating colors into shapes, children practice observing carefully, remembering a rule, and responding accurately key skills for early learning.
What’s Included in This Worksheet
This write the code worksheet is designed specifically for preschool and kindergarten learners and includes:
- A clear color–shape key displayed at the top of the page
- Four familiar colors, each matching one simple shape
- Five coding problems, with four colors in each problem
- Large, open drawing spaces that allow children to draw shapes comfortably
- A clean, uncluttered layout that encourages focused, independent work
Each problem uses the same rule, helping children build confidence through repetition while still requiring careful attention.
How This Activity Works
Children begin by looking at the color–shape key, which shows how each color matches a shape.
For each problem, they:
- Identify the color
- Recall the matching shape
- Draw the shape in the empty space
Because children must convert color information into a visual response, this activity strengthens early logic skills without relying on numbers or letters.
How to Use This Worksheet
You can use this worksheet in many learning settings:
- Review the color–shape key together before starting.
- Ask your child to name each color and shape aloud.
- Encourage them to draw one shape at a time, checking the key as needed.
- Praise careful thinking and effort, not just perfect drawings.
- Review the completed worksheet together and talk about how the rule worked.
This worksheet works well with pencils, crayons, or washable markers.
Skills This Worksheet Supports
Write the Code activities help children develop a wide range of early learning skills, including:
- Logical thinking and reasoning
- Rule following
- Shape recognition
- Visual discrimination
- Working memory
- Fine motor coordination
- Pre-writing control
These skills form an important foundation for later math, handwriting, and problem solving activities.
Why Colors to Shapes Is a Great Early Logic Activity
Unlike worksheets that rely on numbers or letters, colors to shapes coding focuses on visual reasoning.
This makes it especially suitable for children who are still developing writing confidence or who learn best through drawing and hands on activities.
By drawing shapes instead of writing symbols, children can focus on thinking through the rule, not just producing a correct written answer.
Who This Worksheet Is For
This worksheet is ideal for:
- Preschool classrooms
- Kindergarten readiness programs
- Homeschool learning
- Early learning centers
- At-home practice with parents
Numbered worksheets allow children to complete activities in any order and revisit favorite pages as needed.
Download the free PDF below and let your child enjoy drawing shapes by following color rules in a fun, meaningful way.
Explore more printable logic and coding worksheets in our Color Coding Activities Collection.








