MCPcopy
hub / github.com/jimp-dev/jimp / colorModifier

Function colorModifier

plugins/plugin-color/src/index.ts:815–816  ·  view source on GitHub ↗
(i: "r" | "g" | "b", amount: number)

Source from the content-addressed store, hash-verified

813 };
814
815 const colorModifier = (i: "r" | "g" | "b", amount: number) =>
816 limit255(clr[i] + amount);
817
818 actions.forEach((action) => {
819 if (action.apply === "mix") {

Callers 1

colorFunction · 0.85

Calls 1

limit255Function · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…