Java have a RGB function to put colors on the screen?

Thank you,
Guilherme Costa