What the hex is a hex code?
Let's learn a little about these "hex codes". In our everyday life we use a decimal (base 10) number system. We use the following numbers...
0-1-2-3-4-5-6-7-8-9
Somewhere along the line, computer people decided that certain things would be easier to do if they used a hexidecimal (base 16) number system...
0-1-2-3-4-5-6-7-8-9-A-B-C-D-E-F
Since we don't have a unique symbol for 10, 11, 12 etc, we use letters to represent those values. Here is a chart showing the hexidecimal equivalents from 0-255...
Below is a little widget that will convert any number back and forth from base 10 (our number system) to base 16 (hexidecimal). Type a decimal number in the left box and click the top button to convert to hexidecimal. Or, type a hex number in the right box and click the bottom button to convert it to decimal.
So when someone talks about a "hex code" or "hexadecimal number" or if you see cryptic color codes like 09EC0A, CCFFCC, 00AACC, etc., this is what they're talking about and where it comes from.
Taking it a little further, your computer understands colors in terms of red, green and blue values...
RED - GREEN - BLUE
Each of those can have a value from 0 to 255. 0 being the absence of color, 255 being full color. Using that scale, we get the following values...
&&RED= 255-0-0
&&GREEN= 0-255-0
&&BLUE= 0-0-255
&&BLACK= 0-0-0
&&WHITE= 255-255-255
Since we have 3 colors, each with a value that can range from 0 to 255 we have 16,777,216 possible color combinations (256&³). So, that's how we get 16.7 million colors. Black and white are not considered "colors". White is total saturation of all 3 colors and black is the total absence of any color (at least as far as your computer is concerned).
If we replace the decimal number with it's hexadecimal equivalent we start to get something that looks a little more like those "hex codes".
&&RED= FF-0-0
&&GREEN= 0-FF-0
&&BLUE= 0-0-FF
&&BLACK= 0-0-0
&&WHITE= FF-FF-FF&&&
If we then use 00 for 0, and 01 for 1, etc., and if we get rid of the dashes(-), we then got ourselves some genuwine color codes!
&&RED= FF0000
&&GREEN= 00FF00
&&BLUE= 0000FF
&&BLACK= 000000
&&WHITE= FFFFFF&&&&&
Here are a few random examples of hex color codes...
&C8-00-00&C80000
&&255-255-0
&FF-FF-00&FFFF00
&&0-102-204
&00-66-CC&0066CC
&&191-128-210&BF-80-D2&BF80D2
&&32-136-23
&20-88-17&208817
&&231-156-3
&E7-9C-03&E79C03
&&0-128-128
&00-80-80&008080
&47-40-07&474007
Notice when the red, green and blue values are equal, the result is a shade of gray...
&&210-210-210&D2-D2-D2&D2D2D2
&&170-170-170&AA-AA-AA&AAAAAA
&&117-117-117&75-75-75&757575
&&60-60-60
&3C-3C-3C&3C3C3C
Well, I hope that helped you understand a little about "hex codes" and how they put color in your page. The more you understand how all this stuff works, the more control you'll have in your web page. You won't be limited to what some silly HTML editor will let you do. You can do just about anything you want.
- take PageTutor anywhere
& - A solid beginner's javascript course (print version available)
& - Fight Spam!
& - Basic Style Sheets 101
& - Learn about META tags and effective search engine ranking strategies
- cool password protection with javascript that anyone can use
- learn to make javascript mouseovers
- a listing of quality resources useful to any web author... graphics, javascripts, cgi, etc.
- a joke a day helps keep high blood pressure away.
What does a
look like?
[an error occurred while processing this directive]& 使命召唤9:黑色行动2打完补丁就出现了Error during ini ...
查看: 5968|回复: 2
UID3860963主题阅读权限20帖子精华0积分5金钱115 荣誉0 人气0 在线时间19 小时评议0
Lv.2游侠会员, 积分 5, 距离下一级还需 195 积分
帖子精华0积分5金钱115 荣誉0 人气0 评议0
Error during initialization:
EXE_UI_ERROR 42180
UID5887266主题阅读权限100帖子精华0积分1327金钱7827 荣誉0 人气607 在线时间1043 小时评议1
帖子精华0积分1327金钱7827 荣誉0 人气607 评议1
savage clan 电子竞技战队
UID6944780主题阅读权限30帖子精华0积分379金钱943 荣誉0 人气11 在线时间203 小时评议0
Lv.3游侠中级会员, 积分 379, 距离下一级还需 121 积分
帖子精华0积分379金钱943 荣誉0 人气11 评议0
路过~~??????
Powered by战地系列(按出版时间排序)
战地爱好者园地(对游客开放浏览)
luyang6359928作品集
zxx43作品集
wztwzt18作品集
会员作品发布区
经典模组专区
后勤保障区
战地?中国军队
SJA模组8.8特别版COD8.UI成形
额,SS说这个UI给他搞得像翔一样,不过修改颜色就很有味道了,8.8特别版是SJA的最终版,因为我们SJA制作基佬三人组:我,Dtabu,SS都要隐退了,学业紧张,大家见谅,如果想接管SJA的请私信我谢谢
自己的渣作,自己来占个沙发-_-||顺便问一下有没有人知道Memealtas020这张贴图的引用机制,这张贴图貌似和其他的不同,不是通过con配置文件来实现引用的
[本帖由帖主于
12:26 编辑]
颜色的确不好,是要改改啦。
视角图标还是要改改
还不错的..
[quote]原帖由ss5waffenelite于
12:24 发表
自己的渣作,自己来占个沙发-_-||顺便问一下有没有人知道Memealtas020这张贴图的引用机制,这张贴图貌似和其...[/zquote]
在Menu_server.zip\Atlas里的对应的TAI与TAC文档
怎么只有一张
能不能弄个低配的
我不想哭
原帖由纵横于
15:16 发表
能不能弄个低配的
我不想哭
是啊是啊,中校,SJA还没优化呢……8.8会优化吗?
16:36 发表
原帖由纵横于
15:16 发表
能不能弄个低配的
我不想哭
是啊是啊,中校,SJA还没优化呢……8.8会优化吗?
dtabu刚刚全面优化了
画面在众多MOD中很赞 就图太少 其中还有一个AIXsf的载入完就退出 不知有没有同样的遇到的
我说的优化其实是美化。。。。。。
就算配置低也顶
战地2sja模组***.谁会加我qq
好看,美工厉害!
原帖由dtabu于
18:59 发表
我说的优化其实是美化。。。。。。
................你伤害了我,却一笑而过...
颜色的确不好,是要改改啦。
狂顶,真心不错
好厉害的模组
- 最近访问过的版面 -