from ti_hub import *
from ti_system import *
import random
import color
import time

def couleur(t):
  R = random.randint(0, 255)
  V = random.randint(0, 255)
  B = random.randint(0, 255)
  color.rgb(R, V, B)
  time.sleep(t)

while not escape():
  couleur(2)
