More than speed, it&#x27;s easier working with the Uint8ClampedArray since the values correlate to RGB values (0-255). If it was a matter of speed only, the author would have used Uint32Array, which gets the speed benefit of typed arrays but allows for larger values (meaning smaller overall array size, but it&#x27;s more complex to work with).<p>If you hop down to the annotated source, you can see Uint32Array used here:<p><a href="http:&#x2F;&#x2F;zschuessler.github.io&#x2F;DeltaE&#x2F;demos&#x2F;de76-chroma-key&#x2F;" rel="nofollow">http:&#x2F;&#x2F;zschuessler.github.io&#x2F;DeltaE&#x2F;demos&#x2F;de76-chroma-key&#x2F;</a>