hex=$(hyprpicker)
r=$(printf "%d" 0x${hex:1:2})
g=$(printf "%d" 0x${hex:3:2})
b=$(printf "%d" 0x${hex:5:2})
r=$(expr 255 - $r)
g=$(expr 255 - $g)
b=$(expr 255 - $b)
eww update chosen_text_color="rgb($r,$g,$b)"
eww update color_code=$hex
wl-copy $hex
