Flash lights a specific colour

Hi, I’m trying to flash a light a specific colour - and then return to the previous state.

I’m using Philips Hue globes.

The below automation will ignore the color_name input and just flash the bulb using the current colour. that is set

Has anyone got something like this working? Thanks!

- id: '1649127564698'
  alias: Flash Test
  description: ''
  trigger: []
  condition: []
  action:
  - service: light.turn_on
    target:
      entity_id: light.lamp
    data:
      color_name: red
      flash: short
  mode: single

Were u able to solve this?