How to get r, g, b from uint pixel?

How to get r, g, b from uint pixel?
I mean separate variables