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

x/colors/mod.ts>cmyk

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

Convert RGB(A) to CMYK

Returns

[
number,
number,
number,
number,
]