bebraw/colorjoe

Change CMYKA input not working

Closed this issue · 1 comments

I placed the picker and tried to change the cmyka input value manually. But this doesn't work.
Everything else is fine, please let me know how to fix it.

const joe = colorjoe.rgb("hslPicker", "red", [ "alpha", "currentColor", ["fields", { space: "RGBA" }], ["fields", { space: "CMYKA", limit: 100, fix: 0 }], "hex", ]).on("change", function (color) { console.log("Selecting " + color.alpha()); }).update();
image

I think solving #55 handled this one. There was a slight math error.