Method lightenDarkenHex documentation
Takes color in hex format and lightens or darkens it with the given value.
Example
```javascript
//"#eccb28"
bbn.fn.lightenDarkenHex('#c4a300', 40);
```
Example
```javascript
//"#9c7b00"
bbn.fn.lightenDarkenHex(#c4a300', -40);
```
Takes color in hex format and lightens or darkens it with the given value. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2023
BBN Solutions