The amd fan you have came with an rgb adapter, here is the replacement
Then you need to see if the rgb connectors are three or 4 pin in the back section of the case