get_saturation method
Leave feedback
On this page
Gets the hue‑saturation‑brightness (HSB) saturation value for this Color structure.
def get_saturation(self):
...
Returns: float: The saturation of this Color. The saturation ranges from 0.0 through 1.0, where 0.0 is grayscale and 1.0 is the most saturated.
- class
Color
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.