Trying to get my color bulb to flash or alternate between two colors

Can someone help me out with the proper config to do this? I tried a few different ways but each time I failed the “Check Configuration”. Below is my current config and it works fine to turn the light on. I would like to get it to alternate between two or more colors.

  - alias: Turn on Front Door light when there is motion
    trigger:
      platform: state
      entity_id: 
        - binary_sensor.front_door_motion
        - binary_sensor.driveway_motion
        - binary_sensor.wyzesense_77810969
        - binary_sensor.wyzesense_77834076
      to: 'on'
    action:
      service: light.turn_on
      data:
        entity_id: light.frontdoorlight
        rgb_color: [255, 255, 255]
        brightness: 255
        transition: 50

What effects does your light support (look at the bottom of the more info pop up when the light is on)?

I don’t see anywhere where there is a more info popup? Am I missing something?

No, your mouse is on the exact thing I was talking about.

Oh cool. Well it’s numbered 0 through 5. Where can I find out what each number represents?

What type of light is it?