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

x/colors/src/mod.ts>perceivedLightness

Color conversion and stuff in TypeScript
Go to Latest
function perceivedLightness
import { perceivedLightness } from "https://deno.land/x/colors@v2.0.0-rc.1/src/mod.ts";

Get perceived lightness

Returns

number