(r, g, b, opacity)
| 2406 | return new Rgb(o.r, o.g, o.b, o.opacity); |
| 2407 | } |
| 2408 | function rgb(r, g, b, opacity) { |
| 2409 | return arguments.length === 1 ? rgbConvert(r) : new Rgb(r, g, b, opacity == null ? 1 : opacity); |
| 2410 | } |
| 2411 | function Rgb(r, g, b, opacity) { |
| 2412 | this.r = +r; |
| 2413 | this.g = +g; |
nothing calls this directly
no test coverage detected