

NOTE − All the browsers may not support rgb() property so it is not recommended use.

This value can be an integer between 0 and 255 or a percentage(%). This property contains three values which are red, green, and blue. In this, the color value is specified with the help of rgb( ) property. Some color short form is described below. Every hexadecimal code is represented by the pound or hash sign(#).

Hexadecimal codes can be described in the shortest form. Every hexadecimal code is represented by a hash sign(#) or pound. These hexadecimal values can be derived from any graphics software like Jasc Paintshop Pro, Adobe Photoshop and also advanced paintbrush. The Red color specified by the first two digits value which is “RR”, the green color occupies its place as the next two-digit value which is “GG” and remaining are blue color whose value is “BB”. The Hexadecimal is a six-digit representation of the color.
