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

x/colors/src/mod.ts>rgbFromXyz

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

Convert CIE XYZ to Linear RGB color space

Parameters

x: number
y: number
z: number

Returns

[number, number, number]