Josef Albers' Interaction of Color shows that perception of color depends greatly on the surrounding or adjacent colors. This page creates dynamically generated color swatches demonstrating one of Josef Albers' color interaction exercises: how the appearance of one color may vary to the observer based on another color immediately surrounding the first color.
Each time you refresh the page it generates a different, random selection of colors. Note that the central color may look slightly lighter or darker between the two examples, but it's always the exact same color!
Hex values for the generated colors are provided at the bottom of the page.