How to change color temp of bulb using left/right remote buttons?

I have some Ikea bulbs that do color temperature. I used to use the Ikea Tradfri hub with the bulbs and I was able to change the color with the left / right Ikea 5 button remote.

I have retired the Ikea hub and am now just using normal zigbee. The lights are working fine and so are the 5 button remotes. I can turn on / off and also adjust the brightness. What I now need to do is get the left / right buttons working on the color.

I’m sure I could come up with a bunch of automations that can do this but I was wondering if there is a better / simpler way? The only way I see right now is this

button right pushed
check current color of bulb(s)
increase color by a certain amount up
if color number goes too high then start over with the lower number color
example 250 > 350 > 450 > 250 etc

opposite for left button

Is there an easy way to do this transition?

Thank you!

Do you have hacs. Than try Controller x other wise try “awesome ha blueprints” light hook and Controller hook