color codea code example Example 1: rgb purple color (128,0,128) Hex #800080 Example 2: rgb yellow color rgb(255,255,0) /* yellow*/ Hex #FFFF00