functionCvd = function (condition, severity) {
const mat = matrixCvd(condition, severity);
return function (color) {
const vec = Color.default(color).array().map(sRGB_to_linearRGB);
const vecCvd = math.multiply(mat, vec).map(linearRGB_to_sRGB);
return Color.default.rgb(vecCvd).hex();
};
}