颜色-前景色

Posted 麦克斯-侯的博客

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了颜色-前景色相关的知识,希望对你有一定的参考价值。

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>前景色</title>
    <style type="text/css">
        body {
            padding: 20px;
            font-family:Arial,Verdana,sans-serif;}
        /* color name */
        h1{
            color:darkcyan;}
        /* hex code */
        h2{
            color:#ee3e80;}
        /* rgb value */
        p{
            color:rgb(100,100,90);}
    </style>
</head>
<body>
<h1>Marine Biology</h1>
<h2>The Composition of Seawater</h2>
<p>Almost anything can be found in seawater.
    This includes dissolved materials
    from Earth‘s crust as well as materials released from organisms.
    The most important components of seawater that influence life forms are salinity,
    temperature, dissolved gases (mostly oxygen and carbon dioxide), nutrients, and pH.
    These elements vary in their composition as well as in their influence on marine life.</p>
</body>
</html>

  

以上是关于颜色-前景色的主要内容,如果未能解决你的问题,请参考以下文章

SwiftUI - 重音,前景色和色调之间的区别?

颜色-前景色

给定背景颜色,如何获得使其在背景颜色上可读的前景色?

理解CSS前景色和透明度

MFC对话框工程默认背景色怎么修改成其他颜色

Linux - 将 tkinter GUI 背景和前景色与系统主题颜色同步