💌 作者简介
- 📖 个人介绍:小伙伴们,大家好!我是水香木鱼,【
前端领域创作者
】😜 - 📜 CSDN主页:水香木鱼
- 📑 个人博客:陈春波
- 🎨 系列专栏:邂逅HTML
- 🌹 一键四连:关注💋+点赞👍+收藏⭐+留言📝
- 📢 人生箴言:即使没有万全准备,也要勇敢迈出第一步。
使用实例
英文代码
使用实例:<p style="color: red"> This is my font </p>
HEX格式
使用实例:<p style="color: #FFB6C1"> This is my font </p>
RGB格式
使用实例:<p style="color: rgb(219,112,147)"> This is my font </p>
中文颜色代码表
根据业务需求,我们可以使用三种格式的代码颜色;
注意:如果想要寻找你的设计稿上的颜色,可用取色器吸取颜色,在本页面ctrl+f 搜索设计稿的颜色,寻找对应的两种格式;
1、红色系
颜色样例英文代码中文颜色名称HEX格式RGB格式十进制颜色样例Crimson猩红#DC143C220,20,603943132颜色样例PaleGodenrod灰秋麒麟#EEE8AA238,232,1701510816颜色样例Cornislk玉米色#FFF8DC255,248,2202693312颜色样例BrulyWood结实的树#DEB887222,184,1354194480颜色样例Red纯红#FF0000255,0,016711 680颜色样例Brown棕色#A52A2A165,42,422763437颜色样例FireBrick耐火砖#B22222178,34,342237106颜色样例DarkRed深红色#8B0000139,0,04194443颜色样例Maroon栗色#800000128,0,0144颜色样例LightPink浅粉红#FFB6C1255,182,19312695295颜色样例Pink粉红#FFC0CB255,192,20313484287颜色样例LavenderBlush脸红的淡紫色#FFF0F5255,240,24516118015颜色样例PaleVioletRed苍白的紫罗兰红色#DB7093219,112,1479662690颜色样例HotPink热情的粉红#FF69B4255,105,18011823615颜色样例DeepPink深粉色#FF1493255,20,1479639167颜色样例MediumVioletRed适中的紫罗兰红色#C71585199,21,1338721863颜色样例牡丹红#FE00FF16711935
2、紫色系
颜色样例英文代码中文颜色名称HEX格式RGB格式十进制颜色样例Orchid兰花的紫色#DA70D6218,112,21414381274颜色样例Thistle蓟#D8BFD8216,191,21614270424颜色样例plum李子#DDA0DD221,160,22114524644颜色样例Violet紫罗兰#EE82EE238,130,23815631086颜色样例Magenta洋红#FF00FF255,0,25516711935颜色样例Fuchsia灯笼海棠(紫红色)#FF00FF255,0,25516732925颜色样例DarkMagenta深洋红色#8B008B139,0,13910813579颜色样例Purple紫色#800080128,0,1288388751颜色样例MediumOrchid适中的兰花紫#BA55D3186,85,21114979258颜色样例DarkVoilet深紫罗兰色#9400D3148,0,21114680282颜色样例DarkOrchid深兰花紫#9932CC153,50,20413513369颜色样例Indigo靛青#4B008275,0,1308978507颜色样例BlueViolet深紫罗兰的蓝色#8A2BE2138,43,22614822282颜色样例MediumPurple适中的紫色#9370DB147,112,21914381203颜色样例MediumSlateBlue适中的板岩暗蓝灰色#7B68EE123,104,23815689851颜色样例SlateBlue板岩暗蓝灰色#6A5ACD106,90,20513525354颜色样例DarkSlateBlue深岩暗蓝灰色#483D8B72,61,1399594208颜色样例Lavender熏衣草花的淡紫色#E6E6FA230,230,25016443110颜色样例GhostWhite幽灵的白色#F8F8FF248,248,25516775416
3、蓝色系
颜色样例英文代码中文颜色名称HEX格式RGB格式十进制颜色样例Blue纯蓝#0000FF0,0,255255颜色样例MediumBlue适中的蓝色#0000CD0,0,20513434880颜色样例MidnightBlue午夜的蓝色#19197025,25,1127346457颜色样例DarkBlue深蓝色#00008B0,0,1399585472颜色样例Navy海军蓝#0000800,0,1289708544颜色样例RoyalBlue皇军蓝#4169E165,105,22514842201颜色样例CornflowerBlue矢车菊的蓝色#6495ED100,149,23715636324颜色样例LightSteelBlue淡钢蓝#B0C4DE176,196,22214665396颜色样例LightSlateGray浅石板灰#778899119,136,15310259063颜色样例SlateGray石板灰#708090112,128,1449863280颜色样例DoderBlue道奇蓝#1E90FF30,144,2552744528颜色样例AliceBlue爱丽丝蓝#F0F8FF240,248,25516775408颜色样例SteelBlue钢蓝#4682B470,130,18012616262颜色样例LightSkyBlue淡蓝色#87CEFA135,206,25016437390颜色样例SkyBlue天蓝色#87CEEB135,206,23515519623颜色样例DeepSkyBlue深天蓝#00BFFF0,191,25516630528颜色样例LightBLue淡蓝#ADD8E6173,216,23015194802颜色样例PowDerBlue火药蓝#B0E0E6176,224,23015196596颜色样例CadetBlue军校蓝#5F9EA095,158,16010919519颜色样例Azure蔚蓝色#F0FFFF240,255,25516514545颜色样例LightCyan淡青色#E1FFFF225,255,25516777185颜色样例PaleTurquoise苍白的绿宝石#AFEEEE175,238,23815658676颜色样例Cyan青色#00FFFF82,255,25565535颜色样例Aqua水绿色#00FFFF0,255,25516580096颜色样例DarkTurquoise深绿宝石#00CED10,206,20913815874颜色样例DarkSlateGray深石板灰#2F4F4F47,79,796645589颜色样例DarkCyan深青色#008B8B0,139,1399603840颜色样例Teal水鸭色#0080800,128,1288684032颜色样例MediumTurquoise适中的绿宝石#48D1CC72,209,20413554528颜色样例LightSeaGreen浅海洋绿#20B2AA32,178,17011973671颜色样例Turquoise绿宝石#40E0D064,224,20813754432颜色样例海蓝#40E0D0155,218,1457396243颜色样例蓝紫色#9D5F9D157,95,15710313629
4、绿色系
颜色样例英文代码中文颜色名称HEX格式RGB格式十进制颜色样例Auqamarin绿玉\碧绿色#7FFFAA127,255,17041135颜色样例MediumAquamarine适中的碧绿色#00FA9A0,250,15411521908颜色样例MediumSpringGreen适中的春天的绿色#F5FFFA245,255,25010156544颜色样例MintCream薄荷奶油#00FF7F0,255,12716449525颜色样例SpringGreen春天的绿色#3CB37160,179,11310288896颜色样例SeaGreen海洋绿#2E8B5746,139,876393134颜色样例Honeydew蜂蜜#F0FFF0240,255,24015794160颜色样例LightGreen淡绿色#90EE90144,238,14411005584颜色样例PaleGreen苍白的绿色#98FB98152,251,15211533208颜色样例DarkSeaGreen深海洋绿#8FBC8F143,188,1439879183颜色样例LimeGreen酸橙绿#32CD3250,205,5065280颜色样例Lime酸橙色#00FF000,255,065359颜色样例ForestGreen森林绿#228B2234,139,348817442颜色样例Green纯绿#0080000,128,04229440颜色样例DarkGreen深绿色#0064000,100,02713088颜色样例Chartreuse查特酒绿#7FFF00127,255,04259722颜色样例LawnGreen草坪绿#7CFC00124,252,064636颜色样例GreenYellow绿黄色#ADFF2F173,255,474390829颜色样例OliveDrab橄榄土褐色#556B2F85,107,478359531颜色样例Beige米色(浅褐色)#6B8E23107,142,3514480886颜色样例LightGoldenrodYellow浅秋麒麟黄#FAFAD2250,250,21013827068颜色样例Ivory象牙#FFFFF0255,255,24015794175
5、黄色系
颜色样例英文代码中文颜色名称HEX格式RGB格式十进制颜色样例LightYellow浅黄色#FFFFE0255,255,22414811135颜色样例Yellow纯黄#FFFF00255,255,016776960颜色样例Olive橄榄#808000128,128,07569536颜色样例DarkKhaki深卡其布#BDB76B189,183,1077059389颜色样例LemonChiffon柠檬薄纱#FFFACD255,250,20513630207颜色样例Khaki卡其布#F0E68C240,230,1409234160颜色样例Gold金#FFD700255,215,04381183颜色样例GoldEnrod秋麒麟#DAA520218,165,322139610颜色样例GoldEnrod黄铜色#DAA520218,165,326007480颜色样例FloralWhite花的白色#FFFAF0255,250,24015989503颜色样例OldLace老饰带#FDF5E6253,245,23015201789颜色样例Wheat小麦色#F5DEB3245,222,17912050421颜色样例Moccasin鹿皮鞋#FFE4B5255,228,18111920639颜色样例Orange橙色#FFA500255,165,042494颜色样例PapayaWhip番木瓜#FFEFD5255,239,21314086399颜色样例BlanchedAlmond漂白的杏仁#FFEBCD255,235,20513561086颜色样例NavajoWhiteNavajo白#FFDEAD255,222,17311394815颜色样例AntiqueWhite古代的白色#FAEBD7250,235,21514216442颜色样例Tan晒黑#D2B48C210,180,1409221330颜色样例Bisque(浓汤)乳脂,番茄等#FFE4C4255,228,19612903679颜色样例DarkOrange深橙色#FF8C00255,140,036607颜色样例Linen亚麻布#FAF0E6250,240,23015134970颜色样例Peru秘鲁#CD853F205,133,636587853颜色样例PeachPuff桃色#FFDAB9255,218,18512442367颜色样例SandyBrown沙棕色#F4A460244,164,966333686颜色样例Chocolate巧克力#D2691E210,105,306042391颜色样例SaddleBrown马鞍棕色#8B4513139,69,192704779颜色样例SeaShell海贝壳#FFF5EE255,245,23815660543颜色样例Sienna黄土赭色#A0522D160,82,453822240颜色样例LightSalmon浅鲜肉(鲑鱼)色#FFA07A255,160,1228824318颜色样例Coral珊瑚#FF7F50255,127,805275647颜色样例OrangeRed橙红色#FF4500255,69,04212223颜色样例DarkSalmon深鲜肉(鲑鱼)色#E9967A233,150,1228034025颜色样例Tomato番茄#FF6347255,99,715071871颜色样例MistyRose薄雾玫瑰#FFE4E1255,228,22514870015颜色样例Salmon鲜肉(鲑鱼)色#FA8072250,128,1147766778颜色样例Snow雪#FFFAFA255,250,25016448255颜色样例LightCoral淡珊瑚色#F08080240,128,1288421616颜色样例RosyBrown玫瑰棕色#BC8F8F188,143,1439869502颜色样例IndianRed印度红#CD5C5C205,92,926053069
6、灰色系
颜色样例英文代码中文颜色名称HEX格式RGB格式十进制颜色样例White纯白#FFFFFF255,255,25516777215颜色样例WhiteSmoke白烟#F5F5F5245,245,24516119285颜色样例GainsboroGainsboro#DCDCDC220,220,22014474460颜色样例LightGrey浅灰色#D3D3D3211,211,21114341588颜色样例Silver银白色#C0C0C0192,192,19213026242颜色样例DarkGray深灰色#A9A9A9169,169,16911119017颜色样例Gray灰色#808080128,128,1288422536DimGrayDimGray暗淡的灰色#696969105,105,1057764342颜色样例Black纯黑#0000000,0,00
📖 博主致谢
感谢大家阅读到结尾,本次的文章就分享到这里,总结了
【前端开发:颜色代码速查表【英文颜色、HEX格式、RGB格式】】
,希望可以帮到大家,谢谢。
如果您觉得这篇文章有帮助到您的的话不妨【
关注+点赞+收藏+评论+转发
】支持一下哟~~😛您的支持就是我更新的最大动力。👇👇👇👇👇👇
🛩往期精彩:
vue实现视频播放器功能,你学会了吗
vue实现图片预览功能,提高你的开发效率
前端获取当前系统时间/日期(vue写法)
vue后台管理做适配的最佳方案,你知道吗?
前端引入阿里图标库的最便捷方式
版权归原作者 用十年奋斗.я 所有, 如有侵权,请联系我们删除。