How to use the color-blend.darken function in color-blend

To help you get started, we’ve selected a few color-blend examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github davidhoksza / MolArt / src / lm.plugin.js View on Github external
const mergeRgb = function(c1, c2, p) {
        if (p === undefined) p = 0.2;

        c1.a = 1;
        c2.a = 1;

        return blender.darken(c1, c2);
    };

color-blend

Blends RGBA colors with different blend modes

MIT
Latest version published 2 years ago

Package Health Score

60 / 100
Full package analysis