What technique does SketchUp use when changing RGB values of a texture?

Thank you for the quick replies!
If there could at least be a way to export the colorized texture somehow with the same resolution as the original, that would help to.
I’m trying to manually recreate what SketchUp did to no avail.

My research also brought me here: How does colorised texture work?
Reading through, the explanation is too complex for me to understand.

However ThomThom says somewhere in the middle that since 2016 it’s possible to export a colorized texture. When I however try to export mine (Edit texture image in external editor), I still get the original texture.