picslate.make_picture.choose_colors

picslate.make_picture.choose_colors(colors: list[int, int, int]) -> ((<class 'int'>, <class 'int'>, <class 'int'>), <class 'int'>)[source]

choose_colors. attemtp to choose the best color

Parameters

colors (list[(int, int, int)]) –

Return type

((int, int, int), int) color and its ratio