Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/colormath/src/utils.ts>ColorResult

A color conversion and color manipulation library written in typescript for Node.js, Deno and Browser 🎨.
Latest
class ColorResult
import { ColorResult } from "https://deno.land/x/colormath@1.2.4/src/utils.ts";

A color result object returned by functions in "methods.ts".

The main purpose of this function is to allow hex conversion for the rgb array returned.

Constructors

new
ColorResult(rgb: number[])

Properties

readonly
hex

Converts rgb values into hex string.