chickadee » macaw » rgb-near?

rgb-near? rgb_1 rgb_2 #!optional (e 1e-05)procedure

Returns #t if rgb_1 and rgb_2 have approximately the same values. This checks if each value of rgb_1 is within ±e of the value of rgb_2. This is slower than rgb= but more resilient against rounding errors.