Methods
(static) changeOpacity(color, opacity) → {string}
Changes a color's alpha (opacity) value to the given value.
Parameters:
Name | Type | Description |
---|---|---|
color |
string | |
opacity |
number |
- Source:
Returns:
- Type
- string