Yellow RGB color code is: rgb(255,255,0)

Hex:
#ffff00
Hex code #ffff00
RGB: rgb(255,255,0)
HSV: ( 60° , 1% , 255% )

Colors used in web pages are represented using RGB (red, Green, blue) triplet. Each of the primary color component (red, green and blue are the primary colors) is represented using one byte. So, in a color code, there are 3 bytes (24 bits). The first byte is the red component and the next byte is of green and the next one that of blue.

The RGB color code for the color Yellow is rgb(255,255,0). That means, the color Yellow has the primary color parts as shown below:

Red255
Green255
Blue0

Related: