📜  如何在CSS中更改文本颜色

📅  最后修改于: 2020-11-05 09:33:30             🧑  作者: Mango

如何在CSS中更改文本颜色?

CSS中的color属性用于更改文本的颜色。颜色值可以用RGB颜色数字,颜色关键字或十六进制颜色数字表示。此CSS属性设置元素内容的前景色。

句法

color: value;

  
  
  
  
  

Example of the color property

Hi, Welcome to the javaTpoint.com. This site is developed so that students may learn computer science related technologies easily. The javaTpoint.com is always providing an easy and in-depth tutorial on various technologies. No one is perfect in this world, and nothing is eternally best. But we can try to be better.

输出量