Initializes a new instance of the ColorRange class.
def__init__(self):...
Example
fromgroupdocs.watermark.search.search_criteriaimportColorRange# Create a default color rangecolor_range=ColorRange()color_range.min_hue=-15color_range.max_hue=15color_range.min_brightness=0.01color_range.max_brightness=0.99
init
Initializes a new instance of ColorRange with a specified exact color.