RGB code example

Example 1: rgba red color

rgb(255,0,0)  /*red*/  Hex  #FF0000

Example 2: rgba green color

rgb(0,128,0)  /*green*/  Hex #008000

Example 3: rgb yellow color

rgb(255,255,0)  /* yellow*/  Hex  #FFFF00

Example 4: html color codes

<!-- Check these best user friendly html color codes -->
#1ca69d     #e31ce0      #c13e72      #99b34d    #3affb9
#6c7093     #b35ba0      #1b1452

Example 5: color selector html

<input type="color" value="#f6f82" id="colorPicker">

Example 6: rgb

Red: rgb(255, 0, 0), hex(#ff0000)
Orange: rgb(255, 127.5, 0), hex(#ff7f00)
Yellow: rgb(255, 255, 0), hex(#ffff00)
Green: rgb(0, 255, 0), hex(#00ff00)
Blue: rgb(0, 0, 255), hex(#0000ff)
Pink: rgb(255, 0, 255), hex(#ff00ff)
Cyan: rgb(0, 255, 255), hex(#00ffff)

Tags:

Css Example