chore: fix typos in 'spec/' folder (and one in 'lib/' folder) (#43374)

This commit is contained in:
Alexander Cyon 2024-08-22 15:44:15 +02:00 committed by GitHub
parent 4ae43dcb3b
commit ae0c8881c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 10 additions and 10 deletions

View file

@ -50,7 +50,7 @@ function getPixelColor (
return `#${formatHexByte(r)}${formatHexByte(g)}${formatHexByte(b)}`;
}
/** Calculate euclidian distance between colors. */
/** Calculate euclidean distance between colors. */
function colorDistance (hexColorA: string, hexColorB: string): number {
const colorA = hexToRgba(hexColorA);
const colorB = hexToRgba(hexColorB);