Various colors may be used in the front end to achieve aesthetics and create atmosphere. Let’s take a few examples and record a lot of color-related codes. For
example, if you want to set a color on the background,
<body style="background-color: pink">
For example, if you want to use a certain color in a certain area font
<div style="color:#00ff00">
<!--区域-->
</div>
For example, use a certain color in some places
<font color="red">
For example, the following part of the code effect.
The following is the corresponding code of the specific color.
Basic color: a
large number of colors: the
following color code comes from Baidu experience:
https://jingyan.baidu.com/article/d3b74d6411d4311f76e60951.html