()
| 3157 | return this; |
| 3158 | }, |
| 3159 | clamp() { |
| 3160 | return new Rgb(clampi(this.r), clampi(this.g), clampi(this.b), clampa(this.opacity)); |
| 3161 | }, |
| 3162 | displayable() { |
| 3163 | return (-0.5 <= this.r && this.r < 255.5) |
| 3164 | && (-0.5 <= this.g && this.g < 255.5) |