<!-- Thank you for taking the time to contribute towards Phaser. Before submitting your issue, check the following: 1. This repo is for Phaser 3 only. Phaser 2.x issues should be raised in the [Phaser CE](https://github.com/photonstorm/phaser-ce) repo. 2. This repo should not be used for technical support. If you're struggling to use Phaser then post your question to the [forum](https://phaser.discourse.group/) or [Discord](https://phaser.io/community/discord) channels. GitHub Issues are for bugs and feature requests only. 3. Make sure your issue isn't a duplicate, or has already been fixed. 4. If your issue contains _any_ form of hostility it will be closed and you will be blocked from access to all our repos. Be nice. We do this for free. 5. If all the above is ok, fill out the template below. --> ## Version * Phaser Version: v3.51.0-FB * Operating system: MacOS 11.1 (Big Sur) ## Description <!-- Write a detailed description of the bug **below** this comment. Include the expected behavior and what actually happens. If the issue is device specific, please say so. --> Looks similar to this issue (which was apparently fixed): https://github.com/photonstorm/phaser/issues/3643 ## Example Test Code <!-- All issues must have source code demonstrating the problem. We automatically close issues after 30 days if no code is provided. The code can be pasted directly below this comment, or you can link to codepen, jsbin, or similar. The code will ideally be runnable instantly. The more work involved in turning your code into a reproducible test case, the longer it will take the fix the issue. --> When I use `sprite.setTint(0xff0000)`, the sprite is tinted red as expected:  However, when drawing the frame to a render texture with `renderTexture.draw(frame, 0, 0, 1, 0xff0000)`, the texture is tinted blue:  I added a crude function to swap the red and blue values, and the output looks correct: ```ts export const invertRB = (colour: number) => { const [r,g,b] = colour.toString(16).padStart(6, '0').match(/[\w]{2}/g); return parseInt([b,g,r].join(''), 16); } ```  <!-- Is there anything else you think would be useful for us to reproduce the error? Do you have a solution in mind? If you have any screen shots or gifs demonstrating the issue (if it can't be seen when running your code), please include those too. -->