Home > @infiniteobjects/data-types > Color > lighten
Lighten the color a given amount. Providing 100 will always return white.
Signature:
lighten(amount?: number): Color;
Parameter | Type | Description |
---|---|---|
amount | number | (Optional) The amount to lighten by. The valid range is 0 to 100. Default value: 10. |
Returns: