from_oklaba method
from_oklaba
Returns a new Color with the requested lightness, A, B, alpha values for OKLAB model.
Returns
A new instance of the Color
class
def from_oklaba(self, lightness, a, b, alpha):
...
Parameter | Type | Description |
---|---|---|
lightness | float | A float that represents the lightness component of the color. |
a | float | A float that represents the A component of the color. |
b | float | A float that represents the B component of the color. |
alpha | float | A float that represents the alpha component of the color. |
See Also
- module
aspose.html.drawing
- class
Color