chore: fix typos in 'spec/' folder (and one in 'lib/' folder) (#43374)
This commit is contained in:
parent
4ae43dcb3b
commit
ae0c8881c3
6 changed files with 10 additions and 10 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue