(color: RgbaColor)
| 67 | } |
| 68 | |
| 69 | function toOpaqueRgbString(color: RgbaColor): string { |
| 70 | return `rgb(${Math.round(color.r)}, ${Math.round(color.g)}, ${Math.round(color.b)})` |
| 71 | } |
| 72 | |
| 73 | function getEffectiveBackground(el: HTMLElement | null): string { |
| 74 | const fallbackBackground: RgbaColor = { r: 17, g: 17, b: 17, a: 1 } |
no outgoing calls
no test coverage detected