How to change bitmap/sprite color/saturation/contrast/tint/bright/tone/hue/alpha

Hi guys, I am looking for a way to change a bitmap or sprite color, anything of these is welcome:
  • color
  • saturation
  • contrast
  • tint
  • bright
  • tone
  • hue
  • alpha
  • blend
The following are some of my attempts to paint a sprite:

Code:
            this._toneFilter = new ToneFilter();
            this._toneFilter.adjustTone(200, 200, 200);
            this._toneFilter.adjustSaturation(200);
            _mySprite.filters = [this._toneFilter];
            _mySprite.filterArea = new PIXI.Rectangle(0, 0, bitmap.width, bitmap.height);

Thank you in advance 🙂
Answering my own question:

myBitmap.adjustTone(r, g, b); // color/contrast/tint

mySprite.setBlendColor([[r, g, b, a]]) // blending
mySprite.setColorTone([r, g, b, gray]) // color/contrast/tint

Credits:
https://kinoar.github.io/rmmv-doc-web/classes/bitmap.html
https://kinoar.github.io/rmmv-doc-web/classes/sprite.html
alpha is opacity, but you change only an opacity of a sprite. From 0 to 255
^ that confused me when I first looked into it.

PIXI uses alpha values that go from 0 to 1, but the MV wrapper around PIXI has getters and setters for opacity that convert the 0 to 255 range to the alpha value internally.
I guess because it went from 0 to 255 in VXAce and the developers didn't feel like updating for how things work in the JS world (RGBA is used by web browsers for example where the A is alpha between 0 and 1)

Original thread: https://forums.rpgmakerweb.com/threads/how-to-change-bitmap-sprite-color-saturation-contrast-tint-bright-tone-hue-alpha.112353/