#ref: https://docs.wokwi.com/parts/wokwi-rgb-led
import time
from picozero import RGBLED
time.sleep(1) # Wait for USB to become ready
color_names = ['red', 'light blue', 'yellow','green','blue','purple','white']
color_values = [(255,0,0),(173,216,230),(255,255,0),(0,255,0),(0,0,255),(75,0,130),(255,255,255)]
rgb = RGBLED(0,1,2)
while True:
for i in range (0,7):
print(color_names[i])
rgb.color = color_values[i]
time.sleep(2)