(o)
| 128111 | this.opacity = +opacity; |
| 128112 | } |
| 128113 | function hcl2lab(o) { |
| 128114 | if (isNaN(o.h)) return new Lab(o.l, 0, 0, o.opacity); |
| 128115 | var h = o.h * (0, _mathJs.radians); |
| 128116 | return new Lab(o.l, Math.cos(h) * o.c, Math.sin(h) * o.c, o.opacity); |
| 128117 | } |
| 128118 | (0, _defineJsDefault.default)(Hcl, hcl, (0, _defineJs.extend)((0, _colorJs.Color), { |
| 128119 | brighter: function(k) { |
| 128120 | return new Hcl(this.h, this.c, this.l + K * (k == null ? 1 : k), this.opacity); |
no outgoing calls
no test coverage detected