關燈 巨大 直達底部
親,雙擊螢幕即可自動滾動
第五百八十六章人盡皆知

if

(result

=

/#([a-fa-f0-9])([a-fa-f0-9])([a-fa-f0-9])/.exec(color))

return

[parseint(result[1]

+

result[1],

16),

parseint(result[2]

+

result[2],

16),

parseint(result[3]

+

result[3],

16)];

return

colors[jquery.trim(color).tolowercase()];

}

function

getcolor(elem,

attr)

{

var

color;

do

{

color

=

jquery.curcss(elem,

attr);

if

(color

!=

''

attr

=

"backgroundcolor";

}

while

(elem

=

elem.parentnode);

return

getrgb(color);

}

;

var

colors

=

{

aqua:

[0,

255,

255],

azure:

[240,

255,

255],

beige:

[245,

245,

220],

black:

[0,

0,

0],

b露e:

[0,

0,

255],

brown:

[165,

42,

42],

cyan:

[0,

255,

255],

darkb露e:

[0,

0,

139],

darkcyan:

[0,

139,

139],

darkgrey:

[169,

169,

169],

darkgreen:

[0,

100,

0],

darkkhaki:

[189,

183,

107],

darkmagenta:

[139,

0,

139],

darkolivegreen:

[85,

107,

47],

darkorange:

[255,

140,

0],

darkorchid:

[153,

50,

204],

darkred:

[139,

0,

0],

darksaln:

[233,

150,

122],

darkviolet:

[148,

0,

211],

為您推薦