Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const mergeRgb = function(c1, c2, p) {
if (p === undefined) p = 0.2;
c1.a = 1;
c2.a = 1;
return blender.darken(c1, c2);
};