I have a function that gets hex color and returns an object in the following format:
{
brightness: "88%"
contrast: "94%"
hue: "165deg"
invert: "42%"
saturate: "2371%"
sepia: "12%"
}
I've tried this, but the color is wrong.
<Image
ref={imgRef}
x={props.x}
y={props.y}
width={props.width}
height={props.height}
image={image}
draggable={false}
filters={[Konva.Filters.Blur, Konva.Filters.HSL, Konva.Filters.Invert, Konva.Filters.Sepia, Konva.Filters.Brighten, Konva.Filters.Contrast]}
invert={0.42}
sepia={0.12}
saturate={23.71}
hue={165}
brightness={0.88}
contrast={0.94}
/>
Property set is the same all the time. What should be changed to work properly?