Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/colors/src/mod.ts>meanDistance

Color conversion and stuff in TypeScript
Latest
function meanDistance
import { meanDistance } from "https://deno.land/x/colors@v2.0.2/src/mod.ts";

Calculate mean distance between two colors

Parameters

from: number[]
to: number[]

Returns

number