rgb « Style Basics « HTML / CSS






1.Use rgb function to set the color
2.rgb color
3.rgb color with percentage
4.background-color: rgb(128, 128, 128)
5.background-color: rgb(50%, 50%, 50%)
6.border: thin solid rgb(0, 0, 0)