chore: fix typos in 'spec/' folder (and one in 'lib/' folder) (#43432)
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Alexander Cyon <alex.cyon@gmail.com>
This commit is contained in:
parent
150d332f10
commit
e08be7d8ce
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