Texture Hue Shift but with getFrame

You have a cool example in lib https://labs.phaser.io/view.html?src=src\textures\edit%20texture%20hue%20shift.js

But I need to make a copy not a whole image but a frame from this picture,

so instead of

this.textures.get('dude')

I do

this.textures.getFrame('all', 'dude')

But how the rest of the code should be changed so the rest of example work?

Thank you