Replacement for display.set_led(r,g,b)

I found a depreciated post on using display.set_led() to set the RGB light on the PICO Display. However, I can’t find what the replacement is. Can someone please advise? Thanks

It’s now

from pimoroni import RGBLED
led = RGBLED(6, 7, 8)
led.set_rgb(0, 0, 0)  # black / off

Thanks. Any link to doc on what the “6,7,8” mean?

I found the information by searching the forum

Sorry about the short on info post. I was posting from my XBOX. Typing in text is done via the game controller and an onscreen keyboard. I had planed to fill in the blanks when I got back to my PC.

The LED function, and Button function are now separate from the main display code. This happened I believe when Pico Graphics came about.
The Button Example shows how to setup the Buttons. The LED code is unfortunately burried in the Rainbow Example.
led = RGBLED(6, 7, 8)
The 6, 7, 8 are the GP used for the LED. On the Display Pack its physical pins 9, 10 and 11. In code you use the GP number so its 6, 7, 8.
Raspberry Pi Pico GPIO Pinout
The led.set_rgb(0, 0, 0) is what turns them on, Red (255, 0, 0), Green (0, 255, 0) etc.