bool ImagickPixel::isPixelSimilar    ( ImagickPixel $color   , float $fuzz   )

ImagickPixel::isPixelSimilarCheck the distance between this color and another

color

The ImagickPixel object to compare this object against.

fuzz

The maximum distance within which to consider these colors as similar. The theoretical maximum for this value is the square root of three (1.732).