I am looking examples&questions from here. I created things. I want rgb to hex on pixel. My codes but I didn't solve, #-*- coding: utf-8 -*- import Image def read(ch): return list(ch.get
1 Answer. try to extract " r, g, b, and a " from your color in rgba color coding. Then, you can use the following function to convert it to hex color coding. Also, if opacity = false, you can change a = 1 so that you can again use the same function.. 350 81 398 146 207 397 84 109 208