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

x/colors/src/util/linear.ts>toLinear

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

Parameters

sRGB: number

Returns

number