• Latex学习(1)——latex中的字体颜色


    格式:

    \textcolor{color}{text}

    例子:
    \textcolor{white}{白色}\
    \textcolor{linen}{亚麻色}\​
    \textcolor{black}{黑色}\
    \textcolor{grey}{灰色}\
    \textcolor{lightgrey}{浅灰色}\
    \textcolor{darkgrey}{深灰色}\​
    \textcolor{red}{红色}\
    \textcolor{crimson}{深红色}\
    \textcolor{darkred}{暗红色}\
    \textcolor{brown}{褐色}\
    \textcolor{maroon}{褐红色}\
    \textcolor{salmon}{鲑红色}\
    \textcolor{pink}{粉色}\
    \textcolor{coral}{珊瑚色}\
    \textcolor{orangered}{橙红色}\
    \textcolor{orange}{橙色}\
    ​\textcolor{blue}{蓝色}\
    \textcolor{skyblue}{天蓝色}\
    \textcolor{aquamarine}{海蓝色}\
    \textcolor{navy}{深蓝色}\​
    \textcolor{green}{绿色}\
    \textcolor{darkgreen}{深绿色}\
    \textcolor{seagreen}{海绿色}\
    \textcolor{springgreen}{春绿色}\
    \textcolor{forestgreen}{森林绿色}\
    \textcolor{greenyellow}{绿黄色}\
    \textcolor{yellowgreen}{黄绿色}\
    ​\textcolor{yellow}{黄色}\
    \textcolor{khaki}{卡其色}\
    \textcolor{gold}{金色}\
    \textcolor{beige}{米黄色}\
    ​\textcolor{olive}{橄榄色}\
    \textcolor{purple}{紫色}\
    \textcolor{indigo}{靛青色}\
    \textcolor{plum}{紫红色}\
    \textcolor{violet}{紫罗兰色}\
    \textcolor{blueviolet}{蓝紫色}\
    \textcolor{magenta}{洋红色}\
    ​\textcolor{cyan}{青色}\
    \textcolor{turquoise}{青绿色}\
    \textcolor{teal}{蓝绿色}\
    \textcolor{tan}{棕褐色}\
    效果如下:
    白色 亚麻色 ​ 黑色 灰色 浅灰色 深灰色 ​ 红色 深红色 暗红色 褐色 褐红色 鲑红色 粉色 珊瑚色 橙红色 橙色 ​ 蓝色 天蓝色 海蓝色 深蓝色 ​ 绿色 深绿色 海绿色 春绿色 森林绿色 绿黄色 黄绿色 ​ 黄色 卡其色 金色 米黄色 ​ 橄榄色 紫色 靛青色 紫红色 紫罗兰色 蓝紫色 洋红色 ​ 青色 青绿色 蓝绿色 棕褐色 ​ \textcolor{white}{白色}\\\textcolor{linen}{亚麻色}\\​\textcolor{black}{黑色}\\\textcolor{grey}{灰色}\\\textcolor{lightgrey}{浅灰色}\\\textcolor{darkgrey}{深灰色}\\​\textcolor{red}{红色}\\\textcolor{crimson}{深红色}\\\textcolor{darkred}{暗红色}\\\textcolor{brown}{褐色}\\\textcolor{maroon}{褐红色}\\\textcolor{salmon}{鲑红色}\\\textcolor{pink}{粉色}\\\textcolor{coral}{珊瑚色}\\\textcolor{orangered}{橙红色}\\\textcolor{orange}{橙色}\\​\textcolor{blue}{蓝色}\\\textcolor{skyblue}{天蓝色}\\\textcolor{aquamarine}{海蓝色}\\\textcolor{navy}{深蓝色}\\​\textcolor{green}{绿色}\\\textcolor{darkgreen}{深绿色}\\\textcolor{seagreen}{海绿色}\\\textcolor{springgreen}{春绿色}\\\textcolor{forestgreen}{森林绿色}\\\textcolor{greenyellow}{绿黄色}\\\textcolor{yellowgreen}{黄绿色}\\​\textcolor{yellow}{黄色}\\\textcolor{khaki}{卡其色}\\\textcolor{gold}{金色}\\\textcolor{beige}{米黄色}\\​\textcolor{olive}{橄榄色}\\\textcolor{purple}{紫色}\\\textcolor{indigo}{靛青色}\\\textcolor{plum}{紫红色}\\\textcolor{violet}{紫罗兰色}\\\textcolor{blueviolet}{蓝紫色}\\\textcolor{magenta}{洋红色}\\​\textcolor{cyan}{青色}\\\textcolor{turquoise}{青绿色}\\\textcolor{teal}{蓝绿色}\\\textcolor{tan}{棕褐色}\\​ 白色亚麻色黑色灰色浅灰色深灰色红色深红色暗红色褐色褐红色鲑红色粉色珊瑚色橙红色橙色蓝色天蓝色海蓝色深蓝色绿色深绿色海绿色春绿色森林绿色绿黄色黄绿色黄色卡其色金色米黄色橄榄色紫色靛青色紫红色紫罗兰色蓝紫色洋红色青色青绿色蓝绿色棕褐色
    自定义颜色

    \textcolor[rgb]{0.25, 0.5, 0.75}{自定义颜色1}\
    \textcolor[rgb]{0.75, 0.5, 0.25}{自定义颜色2}\
    效果如下:
    在这里插入图片描述

  • 相关阅读:
    Authentication for Hadoop(3.3.1) HTTP web-consoles 不是银弹
    2022年制造业单项冠军行业研究报告
    2024年注册安全工程师报名常见问题汇总!
    4.四大类(DDL、DML、DQL、DCL)
    kingbase数据库迁移
    【AI视野·今日Sound 声学论文速览 第九期】Thu, 21 Sep 2023
    Java项目:SSM自习室图书馆座位预约管理系统
    echarts 常用表 示例
    学node 之前你要知道这些
    算法系列六:十大经典排序算法之——插入排序
  • 原文地址:https://blog.csdn.net/m0_46275020/article/details/126534852