We will teach you step by step how change font color in HTML, in a simple and fast way, so that you can implement it from home without any problem.
How to change font tone in HTML?
To modify the tone of the text, there are three different ways; color code, RGB and HEX. Each of the variants uses a similar structure, only the appropriate code should be used.
RGB
The RGB color is the default color in Word, Paint or Power Point-style document design or editing applications. The following code is used: » Change HTML font color in rgb (255,215,0) «.
To change the color, you just have to change «(255,215,0)», for another code related to the tonality we want, making the letter take on a different hue.
Color code
The color code is easy to use, just the default HTML colors are used; red, gold, orchid, forestgreen and chocolate.
Simply write the following code: « Change the HTML font color to red «. To modify the character, only the "red" is alternated with any of the other colors mentioned.
HEX
HEX is a color form of the color wheel, shades that Google shares for its users. HEX is perfect for people who use HTML for their pages or blogs, since they can create a nice palette or contrast with their background, building something attractive for the reader's eye.
To place a color the following code is used: « Change HTML font color in # ffd700 ». If you want to toggle, just modify "# ffd700" for any other shade offered by Google from its chromatic circle, having different options to choose from.
If you liked the article, we invite you to read the following: » How to create a database in MySQL? ».