from_single_value_rgb method
Leave feedback
On this page
Creates a fully opaque (A=255) color from a single byte value applied to all channels.
def from_single_value_rgb(cls, value):
...
| Parameter | Type | Description |
|---|---|---|
| value | int |
A byte value, same for Red, Green, and Blue channels. |
Returns: Argb32Color: New Argb32Color instance.
- class
Argb32Color
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.