“convert hex rgb to matplotlib color” Code Answer ; 1. hex_color = '3366CC' ; 2. ; 3. # from 0-255 integer format ; 4. up_to_255_rgb = tuple(int(hex_color[i:i+2], ...
確定! 回上一頁