Colors in HTML Assignment Help
To design a website in a attractive manner, colors play a major role. To specify color to a page, employ bgcolor attribute in <body> tag and it can be specified for all the tags using the attribute bgcolor
The <body> tag various attributes to define colors are specified below
bgcolor- page background color
text- body content text color
alink- active link color
link – linked text color
vlink – visited links color.
Color Coding Methods in HTML
Colors in HTML Assignment Help Through Online Tutoring and Guided Sessions at MyAssignmentHelp
Three methods can be employed to give colors to a web page
Color Names
Hexadecimal Codes
Color Percentage Values or Decimal Values
Color Names in HTML Colors
In this method, color names are specified directly to the text or background
The W3C Standard has Specified 16 Colors .The list is underlying

Example

Output

Hexa Codes in HTML Colors
In this method, 6 digit codes are employed to denote colors. Each and every code is preceded by # hash sign. The underlying colors represents hexadecimal notation

Example

Output

RGB Values in HTML Colors
It is represented by employing rgb () function. It takes 3 values (red green blue for each value). The value can be range between 0 – 255 or percentage. The list shows RGB values and few color

Example

Output
