Components.WithLightness100
Extension Method in Components
Declaration
public static Color WithLightness100(this Color color, int lightness)Description
Returns a copy of the color with a new lightness component value using the HSL color model.
Parameters
| color | The color to copy. |
| lightness | The new component value in the range [0..100]. |
Returns
| Color | A copy of the color with the new lightness component value. |