Setting colour of Tuya light

newbie here. Im having issues setting the color of my tuya bulb when it turns on.

Advise please?

my code:

alias: Power off
description: ""
trigger:
  - type: value
    platform: device
    device_id: fa2c3369f209354f1aedeecea1ce2fd9
    entity_id: sensor.grid_frequency
    domain: sensor
    below: 45
    for:
      hours: 0
      minutes: 0
      seconds: 5
condition: []
action:
  - type: turn_on
    device_id: 7f01d68750e3682dc091b09d748c5750
    entity_id: light.lamp
    domain: light
    color_name: red
mode: single

Message malformed: extra keys not allowed @ data[‘color_name’]

I have also tried color_rbg [255,0,0]

I have changed my code and the code works, but the light doesnt change to red. any help please?

alias: Power off
description: ""
trigger:
  - type: value
    platform: device
    device_id: fa2c3369f209354f1aedeecea1ce2fd9
    entity_id: sensor.grid_frequency
    domain: sensor
    below: 45
    for:
      hours: 0
      minutes: 0
      seconds: 5
condition: []
action:
  - service: light.turn_on
    data:
      brightness_pct: 50
      rgb_color:
        - 255
        - 0
        - 0
    target:
      entity_id: light.lamp
mode: single

Bump, help please?