我可以在tkinter中使用rbg代替十六进制吗?如果是这样,我该怎么办?我打算使用此功能使某种颜色从一种颜色过渡到另一种颜色,并且我计划进行for循环以在几秒钟内将其从1更改为255。
from tkinter import *
root = Tk()
root.configure(background="can i use rgb instead of hex here?")
root.mainloop()
Run Code Online (Sandbox Code Playgroud)