Calculate a simple Euclidean distance between two RGB colors, giving a rough numeric measure of how visually different they are.
Formula
Distance = √((R2−R1)² + (G2−G1)² + (B2−B1)²)