Package: colorbox
colorboxColor box provides various colors‘ rgb decimal code.Usage>>>fromcolorboximportrgb,bgr,hex>>>rgb("red")(255,0,0)>>>bgr("red")(0,0,255)>>>hex("red")'#FF0000'Color Map来源：https://www.rapidtables.com/web/color/RGB_Color.html推荐安装 vscode 插件Color Highlight更直观地查看以下颜色:Hex Code#RRGGBBDecimal CodeR,G,Ben_namezh_name#FF0000(255,0,0)red红色#FFA500(255,165,0)orange橙色#FFFF00(255,255,0)yellow黄色#008000(0,128,0)green绿色#00FFFF(0,255,255)cyan/aqua青色/水色#0000FF(0,0,255)blue蓝色#800080(128,0,128)purple紫色#FF2400(255,36,0)scarlet猩红色#FFBF00(255,191,0)amber琥珀色#6495ED(100,149,237)cornflower blue矢车菊蓝#FF4D00(255,77,0)vermilion朱红色#008080(0,128,128)teal水鸭色#FFD700(255,215,0)gold金色#66FF00(102,255,0)bright green亮绿色#1E90FF(30,144,255)dodger blue道奇蓝#003399(0,51,153)powder blue粉末蓝#E32636(227,38,54)alizarin crimson深茜红#2A52BE(42,82,190)cerulean blue天青蓝#000080(0,0,128)navy blue海军蓝#5E86C1(94,134,193)pale denim白牛仔布色#CCCCFF(204,204,255)periwinkle长春花色#7FFFD4(127,255,212)aqua marine海洋蓝#00FF00(0,255,0)lime酸橙绿#FF00FF(255,0,255)magenta/fuchsia品红色/紫红色#C0C0C0(192,192,192)silver银色#808080(128,128,128)gray灰色#800000(128,0,0)maroon栗色#B8860B(184,134,11)dark golden rod暗金棒#DAA520(218,165,32)golden rod金棒#EEE8AA(238,232,170)pale golden rod淡金色棒#BDB76B(189,183,107)dark khaki深卡其色#F0E68C(240,230,140)khaki卡其色#9ACD32(154,205,50)yellow green黄绿色#556B2F(85,107,47)dark olive green深橄榄绿#6B8E23(107,142,35)olive drab橄榄色#7FFF00(127,255,0)chartreuse荨麻酒色#ADFF2F(173,255,47)green yellow绿黄色#006400(0,100,0)dark green深绿色#228B22(34,139,34)forest green森林绿#32CD32(50,205,50)lime green柠檬绿#90EE90(144,238,144)light green浅绿色#8FBC8F(143,188,143)dark sea green深海绿色#00FA9A(0,250,154)medium spring green中春绿#00FF7F(0,255,127)spring green春绿#2E8B57(46,139,87)sea green海绿色#66CDAA(102,205,170)medium aqua marine中型海蓝#3CB371(60,179,113)medium sea green中海绿#20B2AA(32,178,170)light sea green浅海绿色#2F4F4F(47,79,79)dark slate gray深石板灰#008B8B(0,139,139)dark cyan深青色#E0FFFF(224,255,255)light cyan淡青色#00CED1(0,206,209)dark turquoise深绿松石#40E0D0(64,224,208)turquoise绿松石#48D1CC(72,209,204)medium turquoise中绿松石#AFEEEE(175,238,238)pale turquoise淡绿松石#5F9EA0(95,158,160)cadet blue学员蓝#4682B4(70,130,180)steel blue钢蓝色#00BFFF(0,191,255)deep sky blue深蓝色#ADD8E6(173,216,230)light blue浅蓝#87CEEB(135,206,235)sky blue天蓝色#87CEFA(135,206,250)light sky blue淡天蓝色#082567(8,37,103)sapphire青玉色#191970(25,25,112)midnight blue午夜蓝#00008B(0,0,139)dark blue深蓝#0000CD(0,0,205)medium blue中蓝色#4169E1(65,105,225)royal blue宝蓝色#0047AB(0,71,171)cobalt blue钴蓝色#002FA7(0,47,167)international klein_blue国际奇连蓝#8A2BE2(138,43,226)blue violet蓝紫色#4B0082(75,0,130)indigo靛青#483D8B(72,61,139)dark slate blue深石板蓝#6A5ACD(106,90,205)slate blue石板蓝#7B68EE(123,104,238)medium slate blue中石板蓝#9370DB(147,112,219)medium purple中紫色#8B008B(139,0,139)dark magenta深洋红色#9400D3(148,0,211)dark violet深紫色#9932CC(153,50,204)dark orchid暗兰花#BA55D3(186,85,211)medium orchid中等兰花#D8BFD8(216,191,216)thistle蓟#DDA0DD(221,160,221)plum李子#EE82EE(238,130,238)violet紫罗兰色#DA70D6(218,112,214)orchid兰花#C71585(199,21,133)medium violet red中紫红色#DB7093(219,112,147)pale violet red淡紫红色#FF1493(255,20,147)deep pink深粉色#FF69B4(255,105,180)hot pink亮粉色#FFB6C1(255,182,193)light pink浅粉色#FFC0CB(255,192,203)pink粉色#FAEBD7(250,235,215)antique white古色古香白色#F5F5DC(245,245,220)beige浅褐色#FFE4C4(255,228,196)bisque浓汤#FFEBCD(255,235,205)blanched almond漂白杏仁#F5DEB3(245,222,179)wheat小麦#FFF8DC(255,248,220)corn silk玉米须#FFFACD(255,250,205)lemon chiffon柠檬雪纺#FAFAD2(250,250,210)light golden rod yellow淡金黄色#FFFFE0(255,255,224)light yellow淡黄色#8B4513(139,69,19)saddle brown马鞍棕色#A0522D(160,82,45)sienna赭色#D2691E(210,105,30)chocolate巧克力#CD853F(205,133,63)peru秘鲁#F4A460(244,164,96)sandy brown沙棕色#DEB887(222,184,135)burly wood魁梧木头#D2B48C(210,180,140)tan棕褐色#BC8F8F(188,143,143)rosy brown玫瑰棕色#FFE4B5(255,228,181)moccasin软皮鞋#FFDEAD(255,222,173)navajo white纳瓦霍白#FFDAB9(255,218,185)peach puff桃子泡芙#FFE4E1(255,228,225)misty rose迷雾玫瑰#FFF0F5(255,240,245)lavender blush薰衣草腮红#FAF0E6(250,240,230)linen亚麻布#FDF5E6(253,245,230)old lace旧花边#FFEFD5(255,239,213)papaya whip木瓜鞭#FFF5EE(255,245,238)sea shell海贝壳#F5FFFA(245,255,250)mint cream薄荷奶油#708090(112,128,144)slate gray板岩灰色#778899(119,136,153)light slate gray浅石灰色#B0C4DE(176,196,222)light steel blue轻钢蓝#E6E6FA(230,230,250)lavender薰衣草#FFFAF0(255,250,240)floral white花白#F0F8FF(240,248,255)alice blue爱丽丝蓝#F8F8FF(248,248,255)ghost white鬼白#F0FFF0(240,255,240)honeydew甘露#FFFFF0(255,255,240)ivory象牙#FFFAFA(255,250,250)snow雪#696969(105,105,105)dim gray/dim grey暗灰色#A9A9A9(169,169,169)dark gray/dark grey深灰#D3D3D3(211,211,211)light gray/light grey浅灰#DCDCDC(220,220,220)gainsboro格斯伯勒#F5F5F5(245,245,245)white smoke白色烟#FFFFFF(255,255,255)white白色#000000(0,0,0)black黑色