(n: number, k = (n + hue / 60) % 6)
| 575 | let saturation = this.saturation / 100; |
| 576 | let brightness = this.brightness / 100; |
| 577 | let fn = (n: number, k = (n + hue / 60) % 6) => |
| 578 | brightness - saturation * brightness * Math.max(Math.min(k, 4 - k, 1), 0); |
| 579 | return new RGBColor( |
| 580 | Math.round(fn(5) * 255), |
| 581 | Math.round(fn(3) * 255), |
no outgoing calls