In css, we have few different ways to define colors. we can use Named colors, RGB ,HSL, Hexadecimal values
For more color reference in google search for a color picker.
With gradients we can create beautiful transitions between two or more colors
For more gradient color https://cssgradient.io refer this website