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

x/colors/src/mod.ts>xyzFromLab

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

Convert CIE Lab* to CIE XYZ

Parameters

l: number
a: number
b: number

Returns

[number, number, number]