from_rgb method
Leave feedback
On this page
Creates a Rgb24Color value from the specified red, green, and blue channel values.
def from_rgb(cls, red, green, blue):
...
| Parameter | Type | Description |
|---|---|---|
| red | int |
Red channel value. |
| green | int |
Green channel value. |
| blue | int |
Blue channel value. |
Returns: Rgb24Color: New Rgb24Color value.
- class
Rgb24Color
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.