ruby-****@sourc*****
ruby-****@sourc*****
2013年 4月 12日 (金) 09:49:57 JST
------------------------- REMOTE_ADDR = 184.145.81.37 REMOTE_HOST = URL = http://ruby-gnome2.sourceforge.jp/hiki.cgi?tut-gtk2-appdx-clrtheory ------------------------- @@ -121,8 +121,52 @@ :The rules that define relationships between the RGB colour components +{{br}} +{{br}} +{{br}} + + +:Some Convenient Values You Will Need If Working With Colours Extensively + + Table + Dec. Hex. Dec.Ratio Dec.Diff. Hex. Dec. Ratio + Val. Val. Val/255 255-Val Diff 255/Diff + ----------------------------------------------------- + 255 FF 1.0 255 0 1/1 + 250 FA .98 5 5 1/51 = .02 + 245 F5 .96 10 A 1/24 = .04 + 240 F0 .94 15 10 1/17 = .06 + 224 E0 .88 32 20 1/8 = .12 + 218 DA .85 37 25 1/6.9 = .14 + 208 D0 .81 48 30 1/5 = .2 + 205 CD .8 50 32 1/5.1 = .2 + 200 C8 .78 55 37 1/4.6 = .22 + 192 C0 .75 64 40 1/4 = .25 + 176 B0 .69 80 50 1/3.2 = .31 + 170 AA .67 85 55 1/3 = .33 + 160 A0 .63 96 60 1/2.7 = .38 + 153 99 .6 102 66 1/2.5 = .4 + 144 90 .56 112 70 1/2.3 = .43 + 136 88 .53 119 77 1/2.1 = .47 + 128 80 .5 128 80 1/2 = .5 + 119 77 .47 136 88 1.88 = 1/.53 + 112 70 .43 144 90 1.77 = 1/.56 + 102 66 .4 153 99 1.6 = 1/.6 + 96 60 .38 160 A0 1.59 = 1/.63 + 85 55 .33 170 AA 1.5 = 1/.67 + 80 50 .31 176 B0 1.45 = 1/.69 + 64 40 .25 192 C0 1.3 = 1/.75 + 55 37 .22 2OO C8 1.28 = 1/.78 + 50 32 .2 205 CD 1.24 = 1/.8 + 48 30 .19 208 D0 1.2 = 1/.81 + 37 25 .14 218 DA 1.18 = 1/.85 + 32 20 .13 224 E0 1.14 = 1/.88 + 16 10 .06 240 F0 1.06 = 1/.94 + 10 A .04 245 F5 1.04 = 1/.96 + 5 5 .02 250 FA 1.02 = 1/.98 + 255 FF 1.0 255 FF 1.0 = 1/1