How can I change a Blueprint class's thumbnail or class color using C++ in Unreal Engine 5?

Hello, I’ve been working on this for a long time. I can specify my custom class using FAssetTypeActions_Base and change its color, but when the class is of Blueprint type, it defaults to blue. Even though I set the color of my class to red in FAssetTypeActions_Base, it still takes the default blue color. What I really want to know now is how to change the thumbnail and color of a class created in C++. If anyone can show me how to do this, I would really appreciate it!