CSS has many predefined colors, which can be used directly by the English terms, for example, green, blue, yellow, pink, purple
However, the possible range of colors is much wider and, for some colors, no names may have been defined. Such colors can be used by different prefix operators:
- Rgb (red, green, blue)
- Each parameter defines the intensity of the color as an integer between 0 and 255.
- Hsl (h, s, l)
- HSL color values are specified as follows:
hsl(hue (0-359), saturation (0-100), lightness (0-100))
- #000000 (Hexadecimal colors)
- Hexadecimal color specifications are similar to RGB, but here the numbers 0-255 are written one after another in the hexadecimal number system.