An RGB color value is specified with: rgb(red, green, blue), and can produce any chromaticity that is the triangle defined by those primary colors.Each parameter (red, green, and blue) defines the intensity of the color as an integer between 0 and 255.A hexadecimal color is specified with: #RRGGBB.RR (red), GG (green) and BB (blue) are hexadecimal integers between 00 and FF specifying the intensity of the color.