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

x/colors/src/color.ts>mix

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

Mix with a different color. Copyright (c) 2006-2009 Hampton Catlin, Natalie Weizenbaum, and Chris Eppstein http://sass-lang.com

Parameters

color1: Color4
color2: Color4
optional
percentage = [UNSUPPORTED]