SEARCH

How-To Geek

8-Bit Video Game Style Color Cycling in HTML 5

Do you remember how those retro video games used to have backgrounds with animated water or fire? They used a technique called color cycling, which is now possible on the web thanks to HTML 5.

The general idea of color cycling is that older video games were in an era that didn’t have access to a ton of colors and horsepower, so instead programmers would cycle the color palette, which made the image appear to change or animate… but it was really just colors changing.

Here’s how one programmer used the new HTML 5 technologies to implement the same thing in your web browser… and it’s rather interesting to look at.

Old School Color Cycling with HTML5

Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.

  • Published 08/2/10

Comments (3)

  1. Jourdy288

    Hey, cool!

  2. benjoULOL

    Yes cool very much!

  3. html color

    Use HTML color picker if you need to choose from an almost infinite variety of colors. Also, if you like a color scheme of a web page view Tip142 for a fantastic tool that can be used to gather that page’s color codes.

Get Free Articles in Your Inbox!

Join 134,000 newsletter readers

Email:

Go check your email!