RGB与16进制色互转
YUI compressor, JSPacker...HTML特殊符号对照表PNG,GIF,JPG... Base64HTML JS互转URL
编码⇔解码JSON
美化、格式化RGB与16进制互转在线编辑运行代码UTF-8 与中文互转
- 前端开发QQ群
- 1群:108827104(1000人群)
- 2群:165509577(1000人群)
- 3群:40961188(2000人群)
- 4群:159477439(1000人群)
- 5群:153667828(2000人群)
RGB与16进制色互转
RGB | |
R 红色(0~255): | |
G 绿色(0~255): | |
B 蓝色(0~255): | |
注:网页的透明度是0~1 下面用于 C#、Android 等程序 |
|
A 透明度(0~255,可选): |
16x | |
字符(6或8位): | |
预览
|
颜色名称与RGB值对照表
Color name | Hex rgb | Decimal | |
---|---|---|---|
aliceblue | #f0f8ff | 240,248,255 | |
antiquewhite | #faebd7 | 250,235,215 | |
aqua | #00ffff | 0,255,255 | |
aquamarine | #7fffd4 | 127,255,212 | |
azure | #f0ffff | 240,255,255 | |
beige | #f5f5dc | 245,245,220 | |
bisque | #ffe4c4 | 255,228,196 | |
black | #000000 | 0,0,0 | |
blanchedalmond | #ffebcd | 255,235,205 | |
blue | #0000ff | 0,0,255 | |
blueviolet | #8a2be2 | 138,43,226 | |
brown | #a52a2a | 165,42,42 | |
burlywood | #deb887 | 222,184,135 | |
cadetblue | #5f9ea0 | 95,158,160 | |
chartreuse | #7fff00 | 127,255,0 | |
chocolate | #d2691e | 210,105,30 | |
coral | #ff7f50 | 255,127,80 | |
cornflowerblue | #6495ed | 100,149,237 | |
cornsilk | #fff8dc | 255,248,220 | |
crimson | #dc143c | 220,20,60 | |
cyan | #00ffff | 0,255,255 | |
darkblue | #00008b | 0,0,139 | |
darkcyan | #008b8b | 0,139,139 | |
darkgoldenrod | #b8860b | 184,134,11 | |
darkgray | #a9a9a9 | 169,169,169 | |
darkgreen | #006400 | 0,100,0 | |
darkgrey | #a9a9a9 | 169,169,169 | |
darkkhaki | #bdb76b | 189,183,107 | |
darkmagenta | #8b008b | 139,0,139 | |
darkolivegreen | #556b2f | 85,107,47 | |
darkorange | #ff8c00 | 255,140,0 | |
darkorchid | #9932cc | 153,50,204 | |
darkred | #8b0000 | 139,0,0 | |
darksalmon | #e9967a | 233,150,122 | |
darkseagreen | #8fbc8f | 143,188,143 | |
darkslateblue | #483d8b | 72,61,139 | |
darkslategray | #2f4f4f | 47,79,79 | |
darkslategrey | #2f4f4f | 47,79,79 | |
darkturquoise | #00ced1 | 0,206,209 | |
darkviolet | #9400d3 | 148,0,211 | |
deeppink | #ff1493 | 255,20,147 | |
deepskyblue | #00bfff | 0,191,255 | |
dimgray | #696969 | 105,105,105 | |
dimgrey | #696969 | 105,105,105 | |
dodgerblue | #1e90ff | 30,144,255 | |
firebrick | #b22222 | 178,34,34 | |
floralwhite | #fffaf0 | 255,250,240 | |
forestgreen | #228b22 | 34,139,34 | |
fuchsia | #ff00ff | 255,0,255 | |
gainsboro | #dcdcdc | 220,220,220 | |
ghostwhite | #f8f8ff | 248,248,255 | |
gold | #ffd700 | 255,215,0 | |
goldenrod | #daa520 | 218,165,32 | |
gray | #808080 | 128,128,128 | |
green | #008000 | 0,128,0 | |
greenyellow | #adff2f | 173,255,47 | |
grey | #808080 | 128,128,128 | |
honeydew | #f0fff0 | 240,255,240 | |
hotpink | #ff69b4 | 255,105,180 | |
indianred | #cd5c5c | 205,92,92 | |
indigo | #4b0082 | 75,0,130 | |
ivory | #fffff0 | 255,255,240 | |
khaki | #f0e68c | 240,230,140 | |
lavender | #e6e6fa | 230,230,250 | |
lavenderblush | #fff0f5 | 255,240,245 | |
lawngreen | #7cfc00 | 124,252,0 | |
lemonchiffon | #fffacd | 255,250,205 | |
lightblue | #add8e6 | 173,216,230 | |
lightcoral | #f08080 | 240,128,128 | |
lightcyan | #e0ffff | 224,255,255 | |
lightgoldenrodyellow | #fafad2 | 250,250,210 | |
lightgray | #d3d3d3 | 211,211,211 | |
lightgreen | #90ee90 | 144,238,144 | |
lightgrey | #d3d3d3 | 211,211,211 | |
lightpink | #ffb6c1 | 255,182,193 | |
lightsalmon | #ffa07a | 255,160,122 | |
lightseagreen | #20b2aa | 32,178,170 | |
lightskyblue | #87cefa | 135,206,250 | |
lightslategray | #778899 | 119,136,153 | |
lightslategrey | #778899 | 119,136,153 | |
lightsteelblue | #b0c4de | 176,196,222 | |
lightyellow | #ffffe0 | 255,255,224 | |
lime | #00ff00 | 0,255,0 | |
limegreen | #32cd32 | 50,205,50 | |
linen | #faf0e6 | 250,240,230 | |
magenta | #ff00ff | 255,0,255 | |
maroon | #800000 | 128,0,0 | |
mediumaquamarine | #66cdaa | 102,205,170 | |
mediumblue | #0000cd | 0,0,205 | |
mediumorchid | #ba55d3 | 186,85,211 | |
mediumpurple | #9370db | 147,112,219 | |
mediumseagreen | #3cb371 | 60,179,113 | |
mediumslateblue | #7b68ee | 123,104,238 | |
mediumspringgreen | #00fa9a | 0,250,154 | |
mediumturquoise | #48d1cc | 72,209,204 | |
mediumvioletred | #c71585 | 199,21,133 | |
midnightblue | #191970 | 25,25,112 | |
mintcream | #f5fffa | 245,255,250 | |
mistyrose | #ffe4e1 | 255,228,225 | |
moccasin | #ffe4b5 | 255,228,181 | |
navajowhite | #ffdead | 255,222,173 | |
navy | #000080 | 0,0,128 | |
oldlace | #fdf5e6 | 253,245,230 | |
olive | #808000 | 128,128,0 | |
olivedrab | #6b8e23 | 107,142,35 | |
orange | #ffa500 | 255,165,0 | |
orangered | #ff4500 | 255,69,0 | |
orchid | #da70d6 | 218,112,214 | |
palegoldenrod | #eee8aa | 238,232,170 | |
palegreen | #98fb98 | 152,251,152 | |
paleturquoise | #afeeee | 175,238,238 | |
palevioletred | #db7093 | 219,112,147 | |
papayawhip | #ffefd5 | 255,239,213 | |
peachpuff | #ffdab9 | 255,218,185 | |
peru | #cd853f | 205,133,63 | |
pink | #ffc0cb | 255,192,203 | |
plum | #dda0dd | 221,160,221 | |
powderblue | #b0e0e6 | 176,224,230 | |
purple | #800080 | 128,0,128 | |
red | #ff0000 | 255,0,0 | |
rosybrown | #bc8f8f | 188,143,143 | |
royalblue | #4169e1 | 65,105,225 | |
saddlebrown | #8b4513 | 139,69,19 | |
salmon | #fa8072 | 250,128,114 | |
sandybrown | #f4a460 | 244,164,96 | |
seagreen | #2e8b57 | 46,139,87 | |
seashell | #fff5ee | 255,245,238 | |
sienna | #a0522d | 160,82,45 | |
silver | #c0c0c0 | 192,192,192 | |
skyblue | #87ceeb | 135,206,235 | |
slateblue | #6a5acd | 106,90,205 | |
slategray | #708090 | 112,128,144 | |
slategrey | #708090 | 112,128,144 | |
snow | #fffafa | 255,250,250 | |
springgreen | #00ff7f | 0,255,127 | |
steelblue | #4682b4 | 70,130,180 | |
tan | #d2b48c | 210,180,140 | |
teal | #008080 | 0,128,128 | |
thistle | #d8bfd8 | 216,191,216 | |
tomato | #ff6347 | 255,99,71 | |
turquoise | #40e0d0 | 64,224,208 | |
violet | #ee82ee | 238,130,238 | |
wheat | #f5deb3 | 245,222,179 | |
white | #ffffff | 255,255,255 | |
whitesmoke | #f5f5f5 | 245,245,245 | |
yellow | #ffff00 | 255,255,0 | |
yellowgreen | #9acd32 | 154,205,50 |
RGB与16进制色互转的更多相关文章
- JS-011-颜色进制转换(RGB转16进制;16进制转RGB)
在网页开发的时候,经常需要进行颜色设置,因而经常需要遇到进行颜色进制转换的问题,例如:RGB转16进制:16进制转RGB),前几天在测试的时候,发现网站的颜色进制转换某类16进制颜色(例如:#0000 ...
- JS实现rgb与16进制颜色相互转换
1.rgb转16进制 function to16 (a) {//RGB(204,204,024) //十六进制颜色值的正则表达式 var reg = /^#([0-9a-fA-f]{3}|[0-9a- ...
- bgcolor RGB 和16进制之间的转换,16进制转RGB,源码
<p>bgcolor RGB 和16进制之间的转换,16进制转RGB,源码例如:<br /> 输入 201,255,201 转换成 #C9FFC9</p> < ...
- C# RGB与16进制颜色转换方法
http://www.cnblogs.com/goldarch/archive/2010/08/16/1801053.html #region [颜色:16进制转成RGB] /// &l ...
- python进制转化函数,10进制字符串互转,16进制字符串互转
来了老弟,emmmmm,今天想到平时经常用到编码转化,把字符串转化为16进制绕过等等的,今天想着用python写个玩,查询了一些资料,看了些bolg 上面的两个函数是将二进制流转化为16进制,data ...
- 颜色选择器 rgb 与16进制 颜色转换
1. h5 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF ...
- js 16进制字符串互转
/** * 16进制转换为字符串 * @param hex * @returns {*} */ function hexToString(hex) { var tmp = ''; if (hex.le ...
- Java-byte[]与16进制字符串互转
转自: http://www.cnblogs.com/freeliver54/archive/2012/07/30/2615149.html Java中byte用二进制表示占用8位,而我们知道16进制 ...
- BYTE数组与16进制字符串互转
//字节数组转换为HEX 字符串const string Byte2HexString(const unsigned char* input, const int datasize) { ]; ; j ...
随机推荐
- Spark RDD概念学习系列之transformation操作
不多说,直接上干货! transformation操作 惰性求值 (1)RDD 的转化操作都是惰性求值的.这意味着在被调用行动操作之前Spark不会开始计算. (2)读取数据到RDD的操作也是惰性的. ...
- CSDN日报20170527 ——《人机大战,历史的见证》
在网络层,互联网提供所有应用程序都要使用的两种类型的服务,尽管目前理解这些服务的细节并不重要,但在所有TCP/IP概述中,都不能忽略他们: 无连接分组交付服务(Connectionless Packe ...
- Sumblime Text3中使用vue-cli创建vue项目,代码不高亮,解决
问题如下:在Sumblime Text3中打开vue-cli常见的项目,代码一片灰色 解决如下: 第一步:下载文件Vue components 链接 GitHub - vuejs/vue-synta ...
- 不得了,微软原生提供 AI 人工智能 API,而且面向网页开放
微软原生人工智能(AI) API 不得了,微软原生提供 AI 人工智能 API,而且面向网页开放
- rmi 工作原理
rmi 工作原理 (转) 工作SocketJava应用服务器网络应用 RMI(Remote Method Invocation,远程方法调用)是Java的一组拥护开发分布式应用程序的API.RMI使 ...
- 「JavaSE 重新出发」05.03.01 利用反射分析类
在 java.lang.reflect 包中有三个类 Field, Method 和 Constructor 分别用于描述类的域.方法和构造器. Class 类中的 getFields, getMet ...
- 0-NULL-nullptr
NULL In C A null-pointer constant is an integral constant expression that evaluates to zero (like 0 ...
- python3 django动态分页引发的list切片下标越界问题
起先是扒了一个包,动态分页的,但这个包分页之前要加载全部的数据,我这东西后台是个爬虫,不一定浏览的完所以这么做有点浪费资源,于是我改造了一下. # :param obj_count: 获得 条目总数# ...
- ajax请求及遍历
$(".btn").click(function(){ $.ajax({ type:"POST", url:"../../js/info.json&q ...
- HDU 2842 Chinese Rings( 递推关系式 + 矩阵快速幂 )
链接:传送门 题意:解 N 连环最少步数 % 200907 思路:对于 N 连环来说,解 N 连环首先得先解 N-2 连环然后接着解第 N 个环,然后再将前面 N-2 个环放到棍子上,然后 N 连环问 ...