Need to get a spesific color? well Color.py is here dor you buddy !
from kandinsky import color,draw_string,fill_rect from time import sleep as wait from ion import * import random R = 0 G = 0 B = 0 pr = 0 print("Press [OK|EXE] to continue") t = input() while True: fill_rect(5,10,190,20,color(255,255,255)) fill_rect(200,20,100,100,color(R,G,B)) draw_string("color(" + str(R) + str(",") + str(G) + str(",") + str(B) + str(")"),10,10) draw_string("R",235,120,color(R,0,0)) draw_string("G",245,120,color(0,G,0)) draw_string("B",255,120,color(0,0,B)) if keydown(KEY_ONE) or keydown(KEY_TWO) or keydown(KEY_THREE) or keydown(KEY_FOUR) or keydown(KEY_FIVE) or keydown(KEY_SIX) or keydown(KEY_SHIFT): if keydown(KEY_FOUR) and R <= 254: R += 1 if keydown(KEY_ONE) and R >= 1: R -= 1 if keydown(KEY_FIVE) and G <= 254: G += 1 if keydown(KEY_TWO) and G >= 1: G -= 1 if keydown(KEY_SIX) and B <= 254: B += 1 if keydown(KEY_THREE) and B >= 1: B -= 1 if keydown(KEY_SHIFT): R = random.randint(0,255) G = random.randint(0,255) B = random.randint(0,255) if keydown(KEY_OK): wait(0.1) else: wait(0.25) if keydown(KEY_ZERO): B = 0 G = B R = G if not keydown(KEY_ALPHA): draw_string("[ALPHA] - see more",5,140) if keydown(KEY_XNT): draw_string("Done ! ",5,200,color(0,255,0)) else: draw_string("[XNT] - Export ",5,200) if keydown(KEY_OK): draw_string("[OK] - Speed up",5,160,color(0,255,0)) else: draw_string("[OK] - Speed up",5,160) draw_string("[SHIFT] - Random",5,180) else: draw_string(" ",5,140) draw_string("[0] - Reset ",5,160) draw_string("[1|2|3] - RGB Down ",5,200) draw_string("[4|5|6] - RGB Up ",5,180) if keydown(KEY_XNT): print("R: " +str(R)) print("B: " +str(B)) print("G: " +str(G)) print("") print("color(" +str(R) +str(",") +str(G) +str(",") +str(B) +str(")")) print("kandinsky.color(" +str(R) +str(",") +str(G) +str(",") +str(B) +str(")")) print("[OK|EXE] - BACK") t = input()