• 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}\
    效果如下:
    在这里插入图片描述

  • 相关阅读:
    浅析数据仓库和建模理论
    Gin学习笔记
    杰发科技AC7801 —— __attribute__指定地址存储常量
    通过Frp解决实现内网穿透
    23种设计模式(二十二)状态模式(阁瑞钛伦特软件-九耶实训)
    西工大&ANU&CSIRO&IIAI提出基于排序的伪装目标检测网络RankNet,并提供了最大的COD数据集!...
    AVL树的插入
    学生个人博客网页设计作品 学生个人网页模板 个人网页制作 HTML学生个人网站作业设计
    怎么判断list是否为null
    c++ fmt
  • 原文地址:https://blog.csdn.net/m0_46275020/article/details/126534852