Color Picker

How can you do that? I mean how to wrap the SWidget inside a UWidget? I`m pretty new so it would be nice if you could explain how it is done:)