Music/node_modules/node-pnglib/src/pnglib.js
// convert a color and build up the palette
convert a color and build up the palette
convert a color and build up the palette
color(args) {
    const rgba = color.getRGBA(args);
    if (!this.palette.has(rgba)) {
      return color.addColor(this, rgba);
    }
    return this.palette.get(rgba);
  }
color ( args ) { const rgba = color . getRGBA ( args ) ; if ( ! this . palette . has ( rgba ) ) { return color . addColor ( this , rgba ) ; } return this . palette . get ( rgba ) ; }
convert a color and build up the palette
convert a color and build up the palette