Every 18-bit RGB Color

This canvas will slowly fill up at random with all 262,144 18-bit RGB colors in a unique arrangement. This will take while, so go get something to drink.

The algorithm works like this:

  1. Pick a color and set a pixel to this color.
  2. Repeat step 1 as many times as desired.
  3. Pick a color.
  4. Find the colored edge pixel closest in color to this color.
  5. Set one of its uncolored 8-adjacent pixels to this color.
  6. Go to step 3 unless all pixels have been colored.

Inspired by All RGB colors in one image .

Fork me on GitHub