RGB values red code example Example 1: rgba red color rgb(255,0,0) /*red*/ Hex #FF0000 Example 2: rgb yellow color rgb(255,255,0) /* yellow*/ Hex #FFFF00