How to dye the thread!

like this title ,the module dye color I have get ,I want to know , the thread how to dye ?

like this

ok , I’ve solved it !
image
effected:
image

Maybe next time you can invest a little more time before opening a topic.