Colors

ocvproto.misc.colors.COLORS = {'beige': (245, 245, 220), 'black': (0, 0, 0), 'blue': (0, 0, 255), 'brown': (165, 42, 42), 'chocolate': (210, 105, 30), 'cyan': (0, 255, 255), 'gold': (255, 215, 0), 'gray': (128, 128, 128), 'green': (0, 128, 0), 'indigo': (75, 0, 130), 'khaki': (240, 230, 140), 'lime': (0, 255, 0), 'linen': (250, 240, 230), 'magenta': (255, 0, 255), 'maroon': (128, 0, 0), 'navy': (0, 0, 128), 'olive': (128, 128, 0), 'orange': (255, 165, 0), 'pink': (255, 192, 203), 'purple': (128, 0, 128), 'red': (255, 0, 0), 'silver': (192, 192, 192), 'tan': (210, 180, 140), 'teal': (0, 128, 128), 'violet': (238, 130, 238), 'wheat': (245, 222, 179), 'white': (255, 255, 255), 'yellow': (255, 255, 0)}

Color aliases to RGB tuples map.

ocvproto.misc.colors.to_rgb(value: Union[int, str, Tuple[int, int, int]]) → Tuple[int, int, int]

Translates the given color value to RGB tuple.

Parameters:value