import { grayscale } from "https://deno.land/x/colors@v2.0.2/src/mod.ts";
Convert RGBA to grayscale using luminance
Alternatively use average()
or lightness()
Parameters
color: Color3
import { grayscale } from "https://deno.land/x/colors@v2.0.2/src/mod.ts";
Convert RGBA to grayscale using luminance
Alternatively use average()
or lightness()