Modify components from storage

Is it possible to modify the components of an item from a storage. I've been trying to change the dye color of leather armor by storing the dye by using this command

/data modify storage mc:store Color set from entity @s equipment.head.components.minecraft:dyed_color

and then using /data modify to try and change the color of various other leather gear using the stored int value but it doesn't work. is there any way around this

Continue to help post