Games that Teach the Web | Color Picker Snake Game Challenge

CC-BY-SA by Mozilla

45 minutes

Learn how about color hex codes and rgb values through a game and then use the color codes you collect to change the color on a webpage using CSS.

Activity 2 of X

Read and Write on the Web

21st Century Skills

  • Creativity
  • Problem-solving

Web Literacy Skills

Code Design Remix

Learning Objectives

  • Use hex codes and rgb values to remix the colors of elements on a webpage.
  • Find the best color combinations available from a constrained design palette.

Audience

  • 13+
  • Beginner web users

Materials

  • Internet-connected computers
  • A wide assortment of colored pencils, crayons, markers, or other coloring tools
  • Paper
  • Optional: earbuds or headphones
  • Optional: a collection of magazines or other full-color print media that learners can cut and paste for the alternate offline activity.
  • Optional: printed copies of an HTML color chart for the alternate offline activity that can be kept or laminated for reuse
  • Optional: printed copies of a phone template for the alternate offline activity.
  • Optional: glue or tape for the alternate offline activity
  • Optional: scissors for the alternate offline activity