The most important thing about a website is HTML colors. A website will look beautiful when its colour is beautiful. There are many types of colours we use today. The name of the colour the Hexa code was the name of the decimal or percentage of the colour. These 3 are called the colour code method. Of these, the number of more or more original colours is 16 which according to the w3c report or their list has three rules of colour writing of the above three methods the following is given.
First colours code:–
w3c standard 16 colours
Below are 16 w3c name colours that you can try once: –
<!DOCTYPE html> <html> <head> <title>How to learn HTML Colors</title> </head> <body text = "white" bgcolor = "black"> <p>Use different color names for for body and table and see the result.</p> <table bgcolor = "black"> <tr> <td> <font color = "white">This text will appear white on black background.</font> </td> </tr> </table> </body> </html>
It is important to know that this type of code is not widely used today. Because the names of these colours come in handy in your daily life. Other HTML colors are made with these colours so it is very important to know the names of these colours. We are familiar with some of these colours but there are some colour names that we have never heard of so you should put the names once which will come in handy in your future.
Second colours code:–
The two numbers are Hexa colour one colour 8 number representation two-colour red black and the last one is two green. Currently, these Hexa codes are available online, you can get them from Adobe Photoshop or MS Point. Each code is preceded by a #. This colour is used on all websites. If you view sources on any type of website, you will see the name of this colour. So it is very important to know this colour but there is no need to memorize it will be mastered slowly. Below is a list
<!DOCTYPE html> <html> <head> <title>How to learn HTML Colors</title> </head> <body text = "#0000FF" bgcolor = "#00FF00"> <p>Use different color hexa for for body and table and see the result.</p> <table bgcolor = "#000000"> <tr> <td> <font color = "#FFFFFF">This text will appear white on black background.</font> </td> </tr> </table> </body> </html>
Third colours code:–
The last HTML colors is the browser security colour. This colour is considered computer common. These colour codes start from 000000 to FFFFFF with the following 256 colours.
<!DOCTYPE html> <html> <head> <title>How to learn HTML Colors</title> </head> <body text = "rgb(0,0,255)" bgcolor = "rgb(0,255,0)"> <p>Use different color code for for body and table and see the result.</p> <table bgcolor = "rgb(0,0,0)"> <tr> <td> <font color = "rgb(255,255,255)">This text will appear white on black background.</font> </td> </tr> </table> </body> </html>
There are so many types it’s hard to say. There are so many types it’s hard to say. The two things that are very important to the website nowadays are the colour and the design. Of these two, colour is the most important because it is the colour that attracts the most people right now, so how important is the colour for a website. You have understood that if you read the above articles I hope there will be no more problems with HTML colour.