tiatoolbox . utils . visualization . random_colors
tiatoolbox
utils
visualization
random_colors
Generate a number of random colors.
To get visually distinct colors, generate them in HSV space then convert to RGB.
num_colors (int) – Number of perceptively different colors to generate.
bright (bool) – To use bright color or not.
List of (r, g, b) colors.