Převod jména barvy na její hexadecimální kód
Edituj záznam
|
Kategorie:
|
Javascript |
Programovací jazyk:
|
Javascript |
Domovská stránka:
|
http://www.imastudios.com
|
Download:
|
|
Tvůrce:
|
IMA STUDIOS, Inc.
|
Popis skriptu:
|
Velmi užitečný skript pro převod jména barvy na její hexadecimální kód.
|
Nároky na klienta:
|
Aktivní JavaScript, MSIE
|
Nároky na server:
|
žádné
|
Ukázka spuštěného skriptu
|
|
Kód s komentáři:
|
<!NOWIZARD>
<!TITLE>Konverze barev<!/TITLE>
<!DESCRIPTION>Skript konvertuje hexadecimální kód barvy a vypíše jeho jméno(např. 000000 konvertuje na black).<!/DESCRIPTION>
<!CATEGORY>Utilities<!/CATEGORY>
<!SCRIPT >
<!-- ZAČÁTEK scriptu -->
<!-- Pro získání dalších skriptů navštivte http://www.netpedia.com -->
<HTML>
<title>Databáze barev</title>
<!-- ///////////////////////////////////////////////////////////////////////////
Cut & Paste JavaScript
Copyright 1996, IMA STUDIOS, Inc.
Tento kód nesmí být dále prodáván.
Tento text o copyrightu musí být uložen
v každém dokumentu který obsahuje tento kód.
někde ve Vašem dokumentu by měl být obsažen
odkaz na http://www.imastudios.com .
/////////////////////////////////////////////////////////////////////////// -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- --
Idx = new Object();
Data = new Object();
Idx[0] = 510
Idx[1] = "black"
Idx[2] = "navy"
Idx[3] = "blue4"
Idx[4] = "medium blue"
Idx[5] = "blue2"
Idx[6] = "blue"
Idx[7] = "dark green"
Idx[8] = "deepskyblue4"
Idx[9] = "turquoise4"
Idx[10] = "green4"
Idx[11] = "springgreen4"
Idx[12] = "cyan4"
Idx[13] = "deepskyblue3"
Idx[14] = "deepskyblue2"
Idx[15] = "deep sky blue"
Idx[16] = "turquoise3"
Idx[17] = "green3"
Idx[18] = "springgreen3"
Idx[19] = "cyan3"
Idx[20] = "dark turquoise"
Idx[21] = "turquoise2"
Idx[22] = "green2"
Idx[23] = "springgreen2"
Idx[24] = "cyan2"
Idx[25] = "turquoise1"
Idx[26] = "medium spring green"
Idx[27] = "green"
Idx[28] = "spring green"
Idx[29] = "cyan"
Idx[30] = "gray1"
Idx[31] = "gray2"
Idx[32] = "gray3"
Idx[33] = "gray4"
Idx[34] = "gray5"
Idx[35] = "gray6"
Idx[36] = "dodgerblue4"
Idx[37] = "gray7"
Idx[38] = "gray8"
Idx[39] = "gray9"
Idx[40] = "dodgerblue3"
Idx[41] = "midnight blue"
Idx[42] = "gray10"
Idx[43] = "gray11"
Idx[44] = "dodgerblue2"
Idx[45] = "dodger blue"
Idx[46] = "gray12"
Idx[47] = "light sea green"
Idx[48] = "gray13"
Idx[49] = "forest green"
Idx[50] = "gray14"
Idx[51] = "gray15"
Idx[52] = "royalblue4"
Idx[53] = "gray16"
Idx[54] = "gray17"
Idx[55] = "gray18"
Idx[56] = "sea green"
Idx[57] = "dark slate gray"
Idx[58] = "gray19"
Idx[59] = "lime green"
Idx[60] = "gray20"
Idx[61] = "gray21"
Idx[62] = "steelblue4"
Idx[63] = "gray22"
Idx[64] = "royalblue3"
Idx[65] = "gray23"
Idx[66] = "medium sea green"
Idx[67] = "gray24"
Idx[68] = "gray25"
Idx[69] = "turquoise"
Idx[70] = "royal blue"
Idx[71] = "gray26"
Idx[72] = "royalblue2"
Idx[73] = "seagreen3"
Idx[74] = "gray27"
Idx[75] = "chartreuse4"
Idx[76] = "aquamarine4"
Idx[77] = "steel blue"
Idx[78] = "slateblue4"
Idx[79] = "gray28"
Idx[80] = "dark slate blue"
Idx[81] = "royalblue1"
Idx[82] = "medium turquoise"
Idx[83] = "grey29"
Idx[84] = "skyblue4"
Idx[85] = "grey30"
Idx[86] = "seagreen2"
Idx[87] = "grey31"
Idx[88] = "steelblue3"
Idx[89] = "grey32"
Idx[90] = "darkslategray4"
Idx[91] = "cadetblue4"
Idx[92] = "grey33"
Idx[93] = "palegreen4"
Idx[94] = "seagreen1"
Idx[95] = "purple4"
Idx[96] = "dark olive green"
Idx[97] = "gray34"
Idx[98] = "gray35"
Idx[99] = "gray36"
Idx[100] = "steelblue2"
Idx[101] = "mediumpurple4"
Idx[102] = "gray37"
Idx[103] = "cadet blue"
Idx[104] = "lightskyblue4"
Idx[105] = "gray38"
Idx[106] = "gray39"
Idx[107] = "steelblue1"
Idx[108] = "cornflower blue"
Idx[109] = "gray40"
Idx[110] = "paleturquoise4"
Idx[111] = "chartreuse3"
Idx[112] = "aquamarine3"
Idx[113] = "medium aquamarine"
Idx[114] = "darkorchid4"
Idx[115] = "lightblue4"
Idx[116] = "slateblue3"
Idx[117] = "dim gray"
Idx[118] = "gray41"
Idx[119] = "olivedrab4"
Idx[120] = "darkseagreen4"
Idx[121] = "slate blue"
Idx[122] = "slateblue"
Idx[123] = "gray42"
Idx[124] = "olive drab"
Idx[125] = "slategray4"
Idx[126] = "skyblue3"
Idx[127] = "gray43"
Idx[128] = "lightsteelblue4"
Idx[129] = "darkolivegreen4"
Idx[130] = "gray44"
Idx[131] = "slate gray"
Idx[132] = "gray45"
Idx[133] = "gray46"
Idx[134] = "chartreuse2"
Idx[135] = "aquamarine2"
Idx[136] = "light slate gray"
Idx[137] = "gray47"
Idx[138] = "darkslategray3"
Idx[139] = "mediumorchid4"
Idx[140] = "slateblue2"
Idx[141] = "gray48"
Idx[142] = "lightcyan4"
Idx[143] = "cadetblue3"
Idx[144] = "medium slate blue"
Idx[145] = "palegreen3"
Idx[146] = "lawn green"
Idx[147] = "purple3"
Idx[148] = "gray49"
Idx[149] = "skyblue2"
Idx[150] = "gray50"
Idx[151] = "chartreuse"
Idx[152] = "aquamarine"
Idx[153] = "gray51"
Idx[154] = "slateblue1"
Idx[155] = "honeydew4"
Idx[156] = "azure4"
Idx[157] = "light slate blue"
Idx[158] = "gray52"
Idx[159] = "gray53"
Idx[160] = "sky blue"
Idx[161] = "light sky blue"
Idx[162] = "skyblue1"
Idx[163] = "mediumpurple3"
Idx[164] = "blue violet"
Idx[165] = "gray54"
Idx[166] = "red4"
Idx[167] = "magenta4"
Idx[168] = "deeppink4"
Idx[169] = "firebrick4"
Idx[170] = "maroon4"
Idx[171] = "violetred4"
Idx[172] = "brown4"
Idx[173] = "orangered4"
Idx[174] = "tomato4"
Idx[175] = "indianred4"
Idx[176] = "hotpink4"
Idx[177] = "coral4"
Idx[178] = "darkorange4"
Idx[179] = "chocolate4"
Idx[180] = "saddle brown"
Idx[181] = "sienna4"
Idx[182] = "palevioletred4"
Idx[183] = "orchid4"
Idx[184] = "salmon4"
Idx[185] = "lightsalmon4"
Idx[186] = "orange4"
Idx[187] = "tan4"
Idx[188] = "lightpink4"
Idx[189] = "pink4"
Idx[190] = "darkgoldenrod4"
Idx[191] = "plum4"
Idx[192] = "goldenrod4"
Idx[193] = "rosybrown4"
Idx[194] = "burlywood4"
Idx[195] = "gold4"
Idx[196] = "peachpuff4"
Idx[197] = "navajowhite4"
Idx[198] = "thistle4"
Idx[199] = "bisque4"
Idx[200] = "mistyrose4"
Idx[201] = "wheat4"
Idx[202] = "lightgoldenrod4"
Idx[203] = "antiquewhite4"
Idx[204] = "lavenderblush4"
Idx[205] = "khaki4"
Idx[206] = "seashell4"
Idx[207] = "cornsilk4"
Idx[208] = "lemonchiffon4"
Idx[209] = "snow4"
Idx[210] = "yellow4"
Idx[211] = "lightyellow4"
Idx[212] = "ivory4"
Idx[213] = "gray55"
Idx[214] = "lightskyblue3"
Idx[215] = "darkslategray2"
Idx[216] = "cadetblue2"
Idx[217] = "gray56"
Idx[218] = "dark sea green"
Idx[219] = "darkseagreen"
Idx[220] = "palegreen2"
Idx[221] = "purple2"
Idx[222] = "gray57"
Idx[223] = "medium purple"
Idx[224] = "dark violet"
Idx[225] = "gray58"
Idx[226] = "gray59"
Idx[227] = "paleturquoise3"
Idx[228] = "darkslategray1"
Idx[229] = "cadetblue1"
Idx[230] = "pale green"
Idx[231] = "dark orchid"
Idx[232] = "gray60"
Idx[233] = "darkorchid3"
Idx[234] = "lightblue3"
Idx[235] = "olivedrab3"
Idx[236] = "yellow green"
Idx[237] = "palegreen1"
Idx[238] = "purple1"
Idx[239] = "darkseagreen3"
Idx[240] = "gray61"
Idx[241] = "gray62"
Idx[242] = "mediumpurple2"
Idx[243] = "slategray3"
Idx[244] = "purple"
Idx[245] = "sienna"
Idx[246] = "gray63"
Idx[247] = "lightsteelblue3"
Idx[248] = "darkolivegreen3"
Idx[249] = "gray64"
Idx[250] = "lightskyblue2"
Idx[251] = "brown"
Idx[252] = "gray65"
Idx[253] = "gray66"
Idx[254] = "mediumpurple1"
Idx[255] = "gray67"
Idx[256] = "gray68"
Idx[257] = "light blue"
Idx[258] = "green yellow"
Idx[259] = "pale turquoise"
Idx[260] = "maroon"
Idx[261] = "gray69"
Idx[262] = "light steel blue"
Idx[263] = "powder blue"
Idx[264] = "lightskyblue1"
Idx[265] = "firebrick"
Idx[266] = "darkorchid2"
Idx[267] = "lightblue2"
Idx[268] = "gray70"
Idx[269] = "olivedrab2"
Idx[270] = "mediumorchid3"
Idx[271] = "lightcyan3"
Idx[272] = "darkseagreen2"
Idx[273] = "gray71"
Idx[274] = "dark goldenrod"
Idx[275] = "gray72"
Idx[276] = "slategray2"
Idx[277] = "medium orchid"
Idx[278] = "gray73"
Idx[279] = "paleturquoise1"
Idx[280] = "rosy brown"
Idx[281] = "lightsteelblue2"
Idx[282] = "darkolivegreen2"
Idx[283] = "dark khaki"
Idx[284] = "gray74"
Idx[285] = "gray"
Idx[286] = "darkorchid1"
Idx[287] = "gray75"
Idx[288] = "lightblue1"
Idx[289] = "olivedrab1"
Idx[290] = "honeydew3"
Idx[291] = "azure3"
Idx[292] = "darkseagreen1"
Idx[293] = "gray76"
Idx[294] = "gray77"
Idx[295] = "slategray1"
Idx[296] = "medium violet red"
Idx[297] = "gray78"
Idx[298] = "gray79"
Idx[299] = "lightsteelblue1"
Idx[300] = "darkolivegreen1"
Idx[301] = "gray80"
Idx[302] = "red3"
Idx[303] = "magenta3"
Idx[304] = "deeppink3"
Idx[305] = "firebrick3"
Idx[306] = "maroon3"
Idx[307] = "violetred3"
Idx[308] = "brown3"
Idx[309] = "orangered3"
Idx[310] = "tomato3"
Idx[311] = "indianred3"
Idx[312] = "coral3"
Idx[313] = "indian red"
Idx[314] = "hotpink3"
Idx[315] = "darkorange3"
Idx[316] = "chocolate3"
Idx[317] = "sienna3"
Idx[318] = "palevioletred3"
Idx[319] = "orchid3"
Idx[320] = "salmon3"
Idx[321] = "lightsalmon3"
Idx[322] = "orange3"
Idx[323] = "peru"
Idx[324] = "tan3"
Idx[325] = "lightpink3"
Idx[326] = "pink3"
Idx[327] = "darkgoldenrod3"
Idx[328] = "plum3"
Idx[329] = "goldenrod3"
Idx[330] = "rosybrown3"
Idx[331] = "burlywood3"
Idx[332] = "gold3"
Idx[333] = "peachpuff3"
Idx[334] = "navajowhite3"
Idx[335] = "thistle3"
Idx[336] = "bisque3"
Idx[337] = "mistyrose3"
Idx[338] = "wheat3"
Idx[339] = "lightgoldenrod3"
Idx[340] = "antiquewhite3"
Idx[341] = "lavenderblush3"
Idx[342] = "seashell3"
Idx[343] = "khaki3"
Idx[344] = "cornsilk3"
Idx[345] = "lemonchiffon3"
Idx[346] = "snow3"
Idx[347] = "yellow3"
Idx[348] = "lightyellow3"
Idx[349] = "ivory3"
Idx[350] = "gray81"
Idx[351] = "violet red"
Idx[352] = "mediumorchid2"
Idx[353] = "gray82"
Idx[354] = "lightcyan2"
Idx[355] = "chocolate"
Idx[356] = "tan"
Idx[357] = "light gray"
Idx[358] = "gray83"
Idx[359] = "gray84"
Idx[360] = "thistle"
Idx[361] = "gray85"
Idx[362] = "orchid"
Idx[363] = "goldenrod"
Idx[364] = "pale violet red"
Idx[365] = "gray86"
Idx[366] = "gainsboro"
Idx[367] = "plum"
Idx[368] = "burlywood"
Idx[369] = "gray87"
Idx[370] = "mediumorchid1"
Idx[371] = "gray88"
Idx[372] = "honeydew2"
Idx[373] = "azure2"
Idx[374] = "light cyan"
Idx[375] = "gray89"
Idx[376] = "gray90"
Idx[377] = "lavender"
Idx[378] = "gray91"
Idx[379] = "dark salmon"
Idx[380] = "gray92"
Idx[381] = "gray93"
Idx[382] = "red2"
Idx[383] = "magenta2"
Idx[384] = "deeppink2"
Idx[385] = "firebrick2"
Idx[386] = "maroon2"
Idx[387] = "violetred2"
Idx[388] = "brown2"
Idx[389] = "orangered2"
Idx[390] = "tomato2"
Idx[391] = "indianred2"
Idx[392] = "coral2"
Idx[393] = "hotpink2"
Idx[394] = "darkorange2"
Idx[395] = "chocolate2"
Idx[396] = "sienna2"
Idx[397] = "palevioletred2"
Idx[398] = "orchid2"
Idx[399] = "salmon2"
Idx[400] = "violet"
Idx[401] = "lightsalmon2"
Idx[402] = "orange2"
Idx[403] = "tan2"
Idx[404] = "lightpink2"
Idx[405] = "pink2"
Idx[406] = "darkgoldenrod2"
Idx[407] = "plum2"
Idx[408] = "goldenrod2"
Idx[409] = "rosybrown2"
Idx[410] = "burlywood2"
Idx[411] = "gold2"
Idx[412] = "peachpuff2"
Idx[413] = "navajowhite2"
Idx[414] = "thistle2"
Idx[415] = "bisque2"
Idx[416] = "mistyrose2"
Idx[417] = "wheat2"
Idx[418] = "lightgoldenrod2"
Idx[419] = "light goldenrod"
Idx[420] = "antiquewhite2"
Idx[421] = "lavenderblush2"
Idx[422] = "seashell2"
Idx[423] = "khaki2"
Idx[424] = "pale goldenrod"
Idx[425] = "cornsilk2"
Idx[426] = "lemonchiffon2"
Idx[427] = "snow2"
Idx[428] = "yellow2"
Idx[429] = "lightyellow2"
Idx[430] = "ivory2"
Idx[431] = "light coral"
Idx[432] = "lightcoral"
Idx[433] = "khaki"
Idx[434] = "gray94"
Idx[435] = "alice blue"
Idx[436] = "honeydew"
Idx[437] = "azure"
Idx[438] = "gray95"
Idx[439] = "sandy brown"
Idx[440] = "wheat"
Idx[441] = "beige"
Idx[442] = "grey96"
Idx[443] = "white smoke"
Idx[444] = "mint cream"
Idx[445] = "gray97"
Idx[446] = "ghost white"
Idx[447] = "salmon"
Idx[448] = "antique white"
Idx[449] = "linen"
Idx[450] = "light goldenrod yel"
Idx[451] = "gray98"
Idx[452] = "gray99"
Idx[453] = "old lace"
Idx[454] = "red"
Idx[455] = "magenta"
Idx[456] = "deep pink"
Idx[457] = "deeppink"
Idx[458] = "firebrick1"
Idx[459] = "maroon1"
Idx[460] = "violetred1"
Idx[461] = "brown1"
Idx[462] = "orange red"
Idx[463] = "tomato"
Idx[464] = "hot pink"
Idx[465] = "indianred1"
Idx[466] = "hotpink1"
Idx[467] = "coral1"
Idx[468] = "darkorange1"
Idx[469] = "chocolate1"
Idx[470] = "coral"
Idx[471] = "sienna1"
Idx[472] = "palevioletred1"
Idx[473] = "orchid1"
Idx[474] = "dark orange"
Idx[475] = "salmon1"
Idx[476] = "light salmon"
Idx[477] = "orange"
Idx[478] = "tan1"
Idx[479] = "lightpink1"
Idx[480] = "pink1"
Idx[481] = "light pink"
Idx[482] = "darkgoldenrod1"
Idx[483] = "plum1"
Idx[484] = "pink"
Idx[485] = "goldenrod1"
Idx[486] = "rosybrown1"
Idx[487] = "burlywood1"
Idx[488] = "gold"
Idx[489] = "peach puff"
Idx[490] = "navajo white"
Idx[491] = "thistle1"
Idx[492] = "moccasin"
Idx[493] = "bisque"
Idx[494] = "misty rose"
Idx[495] = "wheat1"
Idx[496] = "blanched almond"
Idx[497] = "lightgoldenrod1"
Idx[498] = "papaya whip"
Idx[499] = "antiquewhite1"
Idx[500] = "lavender blush"
Idx[501] = "seashell"
Idx[502] = "khaki1"
Idx[503] = "cornsilk"
Idx[504] = "lemon chiffon"
Idx[505] = "floral white"
Idx[506] = "snow"
Idx[507] = "yellow"
Idx[508] = "light yellow"
Idx[509] = "ivory"
Idx[510] = "white"
Data[1] = "000000"
Data[2] = "000080"
Data[3] = "00008B"
Data[4] = "0000CD"
Data[5] = "0000EE"
Data[6] = "0000FF"
Data[7] = "006400"
Data[8] = "00688B"
Data[9] = "00868B"
Data[10] = "008B00"
Data[11] = "008B45"
Data[12] = "008B8B"
Data[13] = "009ACD"
Data[14] = "00B2EE"
Data[15] = "00BFFF"
Data[16] = "00C5CD"
Data[17] = "00CD00"
Data[18] = "00CD66"
Data[19] = "00CDCD"
Data[20] = "00CED1"
Data[21] = "00E5EE"
Data[22] = "00EE00"
Data[23] = "00EE76"
Data[24] = "00EEEE"
Data[25] = "00F5FF"
Data[26] = "00FA9A"
Data[27] = "00FF00"
Data[28] = "00FF7F"
Data[29] = "00FFFF"
Data[30] = "030303"
Data[31] = "050505"
Data[32] = "080808"
Data[33] = "0A0A0A"
Data[34] = "0D0D0D"
Data[35] = "0F0F0F"
Data[36] = "104E8B"
Data[37] = "121212"
Data[38] = "141414"
Data[39] = "171717"
Data[40] = "1874CD"
Data[41] = "191970"
Data[42] = "1A1A1A"
Data[43] = "1C1C1C"
Data[44] = "1C86EE"
Data[45] = "1E90FF"
Data[46] = "1F1F1F"
Data[47] = "20B2AA"
Data[48] = "212121"
Data[49] = "228B22"
Data[50] = "242424"
Data[51] = "262626"
Data[52] = "27408B"
Data[53] = "292929"
Data[54] = "2B2B2B"
Data[55] = "2E2E2E"
Data[56] = "2E8B57"
Data[57] = "2F4F4F"
Data[58] = "303030"
Data[59] = "32CD32"
Data[60] = "333333"
Data[61] = "363636"
Data[62] = "36648B"
Data[63] = "383838"
Data[64] = "3A5FCD"
Data[65] = "3B3B3B"
Data[66] = "3CB371"
Data[67] = "3D3D3D"
Data[68] = "404040"
Data[69] = "40E0D0"
Data[70] = "4169E1"
Data[71] = "424242"
Data[72] = "436EEE"
Data[73] = "43CD80"
Data[74] = "454545"
Data[75] = "458B00"
Data[76] = "458B74"
Data[77] = "4682B4"
Data[78] = "473C8B"
Data[79] = "474747"
Data[80] = "483D8B"
Data[81] = "4876FF"
Data[82] = "48D1CC"
Data[83] = "4A4A4A"
Data[84] = "4A708B"
Data[85] = "4D4D4D"
Data[86] = "4EEE94"
Data[87] = "4F4F4F"
Data[88] = "4F94CD"
Data[89] = "525252"
Data[90] = "528B8B"
Data[91] = "53868B "
Data[92] = "545454"
Data[93] = "548B54"
Data[94] = "54FF9F"
Data[95] = "551A8B"
Data[96] = "556B2F"
Data[97] = "575757"
Data[98] = "595959"
Data[99] = "5C5C5C"
Data[100] = "5CACEE"
Data[101] = "5D478B"
Data[102] = "5E5E5E"
Data[103] = "5F9EA0"
Data[104] = "607B8B"
Data[105] = "616161"
Data[106] = "636363"
Data[107] = "63B8FF"
Data[108] = "6495ED"
Data[109] = "666666"
Data[110] = "668B8B"
Data[111] = "66CD00"
Data[112] = "66CDAA"
Data[113] = "66CDAA"
Data[114] = "68228B"
Data[115] = "68838B"
Data[116] = "6959CD"
Data[117] = "696969"
Data[118] = "696969"
Data[119] = "698B22"
Data[120] = "698B69"
Data[121] = "6A5ACD"
Data[122] = "6A5ACD"
Data[123] = "6B6B6B"
Data[124] = "6B8E23"
Data[125] = "6C7B8B"
Data[126] = "6CA6CD"
Data[127] = "6E6E6E"
Data[128] = "6E7B8B"
Data[129] = "6E8B3D"
Data[130] = "707070"
Data[131] = "708090"
Data[132] = "737373"
Data[133] = "757575"
Data[134] = "76EE00"
Data[135] = "76EEC6"
Data[136] = "778899"
Data[137] = "787878"
Data[138] = "79CDCD"
Data[139] = "7A378B"
Data[140] = "7A67EE"
Data[141] = "7A7A7A"
Data[142] = "7A8B8B"
Data[143] = "7AC5CD"
Data[144] = "7B68EE"
Data[145] = "7CCD7C"
Data[146] = "7CFC00"
Data[147] = "7D26CD"
Data[148] = "7D7D7D"
Data[149] = "7EC0EE"
Data[150] = "7F7F7F"
Data[151] = "7FFF00"
Data[152] = "7FFFD4"
Data[153] = "828282"
Data[154] = "836FFF"
Data[155] = "838B83"
Data[156] = "838B8B"
Data[157] = "8470FF"
Data[158] = "858585"
Data[159] = "878787"
Data[160] = "87CEEB"
Data[161] = "87CEFA"
Data[162] = "87CEFF"
Data[163] = "8968CD"
Data[164] = "8A2BE2"
Data[165] = "8A8A8A"
Data[166] = "8B0000"
Data[167] = "8B008B"
Data[168] = "8B0A50"
Data[169] = "8B1A1A"
Data[170] = "8B1C62"
Data[171] = "8B2252"
Data[172] = "8B2323"
Data[173] = "8B2500"
Data[174] = "8B3626"
Data[175] = "8B3A3A"
Data[176] = "8B3A62"
Data[177] = "8B3E2F"
Data[178] = "8B4500"
Data[179] = "8B4513"
Data[180] = "8B4513"
Data[181] = "8B4726"
Data[182] = "8B475D"
Data[183] = "8B4789"
Data[184] = "8B4C39"
Data[185] = "8B5742"
Data[186] = "8B5A00"
Data[187] = "8B5A2B"
Data[188] = "8B5F65"
Data[189] = "8B636C"
Data[190] = "8B6508"
Data[191] = "8B668B"
Data[192] = "8B6914"
Data[193] = "8B6969"
Data[194] = "8B7355"
Data[195] = "8B7500"
Data[196] = "8B7765"
Data[197] = "8B795E"
Data[198] = "8B7B8B"
Data[199] = "8B7D6B"
Data[200] = "8B7D7B"
Data[201] = "8B7E66"
Data[202] = "8B814C"
Data[203] = "8B8378"
Data[204] = "8B8386"
Data[205] = "8B864E"
Data[206] = "8B8682"
Data[207] = "8B8878"
Data[208] = "8B8970"
Data[209] = "8B8989"
Data[210] = "8B8B00"
Data[211] = "8B8B7A"
Data[212] = "8B8B83"
Data[213] = "8C8C8C"
Data[214] = "8DB6CD"
Data[215] = "8DEEEE"
Data[216] = "8EE5EE"
Data[217] = "8F8F8F"
Data[218] = "8FBC8F"
Data[219] = "8FBC8F"
Data[220] = "90EE90"
Data[221] = "912CEE"
Data[222] = "919191"
Data[223] = "9370DB"
Data[224] = "9400D3"
Data[225] = "949494"
Data[226] = "969696"
Data[227] = "96CDCD"
Data[228] = "97FFFF"
Data[229] = "98F5FF"
Data[230] = "98FB98"
Data[231] = "9932CC"
Data[232] = "999999"
Data[233] = "9A32CD"
Data[234] = "9AC0CD"
Data[235] = "9ACD32"
Data[236] = "9ACD32"
Data[237] = "9AFF99"
Data[238] = "9B30FF"
Data[239] = "9BCD9B"
Data[240] = "9C9C9C"
Data[241] = "9E9E9E"
Data[242] = "9F79EE"
Data[243] = "9FB6CD"
Data[244] = "A020F0"
Data[245] = "A0522D"
Data[246] = "A1A1A1"
Data[247] = "A2B5CD"
Data[248] = "A2CD5A"
Data[249] = "A3A3A3"
Data[250] = "A4D3EE"
Data[251] = "A52A2A"
Data[252] = "A6A6A6"
Data[253] = "A8A8A8"
Data[254] = "AB82FF"
Data[255] = "ABABAB"
Data[256] = "ADADAD"
Data[257] = "ADD8E6"
Data[258] = "ADFF2F"
Data[259] = "AFEEEE"
Data[260] = "B03060"
Data[261] = "B0B0B0"
Data[262] = "B0C4DE"
Data[263] = "B0E0E6"
Data[264] = "B0E2FF"
Data[265] = "B22222"
Data[266] = "B23AEE"
Data[267] = "B2DFEE"
Data[268] = "B3B3B3"
Data[269] = "B3EE3A"
Data[270] = "B452CD"
Data[271] = "B4CDCD"
Data[272] = "B4EEB4"
Data[273] = "B5B5B5"
Data[274] = "B8860B"
Data[275] = "B8B8B8"
Data[276] = "B9D3EE"
Data[277] = "BA55D3"
Data[278] = "BABABA"
Data[279] = "BBFFFF"
Data[280] = "BC8F8F"
Data[281] = "BCD2EE"
Data[282] = "BCEE68"
Data[283] = "BDB76B"
Data[284] = "BDBDBD"
Data[285] = "BEBEBE"
Data[286] = "BF3EFF"
Data[287] = "BFBFBF"
Data[288] = "BFEFFF"
Data[289] = "C0FF3E"
Data[290] = "C1CDC1"
Data[291] = "C1CDCD"
Data[292] = "C1FFC1"
Data[293] = "C2C2C2"
Data[294] = "C4C4C4"
Data[295] = "C6E2FF"
Data[296] = "C71585"
Data[297] = "C7C7C7"
Data[298] = "C9C9C9"
Data[299] = "CAE1FF"
Data[300] = "CAFF70"
Data[301] = "CCCCCC"
Data[302] = "CD0000"
Data[303] = "CD00CD"
Data[304] = "CD1076"
Data[305] = "CD2626"
Data[306] = "CD2990"
Data[307] = "CD3278"
Data[308] = "CD3333"
Data[309] = "CD3700"
Data[310] = "CD4F39"
Data[311] = "CD5555"
Data[312] = "CD5B45"
Data[313] = "CD5C5C"
Data[314] = "CD6090"
Data[315] = "CD6600"
Data[316] = "CD661D"
Data[317] = "CD6839"
Data[318] = "CD6889"
Data[319] = "CD69C9"
Data[320] = "CD7054"
Data[321] = "CD8162"
Data[322] = "CD8500"
Data[323] = "CD853F"
Data[324] = "CD853F"
Data[325] = "CD8C95"
Data[326] = "CD919E"
Data[327] = "CD950C"
Data[328] = "CD96CD"
Data[329] = "CD9B1D"
Data[330] = "CD9B9B"
Data[331] = "CDAA7D"
Data[332] = "CDAD00"
Data[333] = "CDAF95"
Data[334] = "CDB38B"
Data[335] = "CDB5CD"
Data[336] = "CDB79E"
Data[337] = "CDB7B5"
Data[338] = "CDBA96"
Data[339] = "CDBE70"
Data[340] = "CDC0B0"
Data[341] = "CDC1C5"
Data[342] = "CDC5BF"
Data[343] = "CDC673"
Data[344] = "CDC8B1"
Data[345] = "CDC9A5"
Data[346] = "CDC9C9"
Data[347] = "CDCD00"
Data[348] = "CDCDB4"
Data[349] = "CDCDC1"
Data[350] = "CFCFCF"
Data[351] = "D02090"
Data[352] = "D15FEE"
Data[353] = "D1D1D1"
Data[354] = "D1EEEE"
Data[355] = "D2691E"
Data[356] = "D2B48C"
Data[357] = "D3D3D3"
Data[358] = "D4D4D4"
Data[359] = "D6D6D6"
Data[360] = "D8BFD8"
Data[361] = "D9D9D9"
Data[362] = "DA70D6"
Data[363] = "DAA520"
Data[364] = "DB7093"
Data[365] = "DBDBDB"
Data[366] = "DCDCDC"
Data[367] = "DDA0DD"
Data[368] = "DEB887"
Data[369] = "DEDEDE"
Data[370] = "E066FF"
Data[371] = "E0E0E0"
Data[372] = "E0EEE0"
Data[373] = "E0EEEE"
Data[374] = "E0FFFF"
Data[375] = "E3E3E3"
Data[376] = "E5E5E5"
Data[377] = "E6E6FA"
Data[378] = "E8E8E8"
Data[379] = "E9967A"
Data[380] = "EBEBEB"
Data[381] = "EDEDED"
Data[382] = "EE0000"
Data[383] = "EE00EE"
Data[384] = "EE1289"
Data[385] = "EE2C2C"
Data[386] = "EE30A7"
Data[387] = "EE3A8C"
Data[388] = "EE3B3B"
Data[389] = "EE4000"
Data[390] = "EE5C42"
Data[391] = "EE6363"
Data[392] = "EE6A50"
Data[393] = "EE6AA7"
Data[394] = "EE7600"
Data[395] = "EE7621"
Data[396] = "EE7942"
Data[397] = "EE799F"
Data[398] = "EE7AE9"
Data[399] = "EE8262"
Data[400] = "EE82EE"
Data[401] = "EE9572"
Data[402] = "EE9A00"
Data[403] = "EE9A49"
Data[404] = "EEA2AD"
Data[405] = "EEA9B8"
Data[406] = "EEAD0E"
Data[407] = "EEAEEE"
Data[408] = "EEB422"
Data[409] = "EEB4B4"
Data[410] = "EEC591"
Data[411] = "EEC900"
Data[412] = "EECBAD"
Data[413] = "EECFA1"
Data[414] = "EED2EE"
Data[415] = "EED5B7"
Data[416] = "EED5D2"
Data[417] = "EED8AE"
Data[418] = "EEDC82"
Data[419] = "EEDD82"
Data[420] = "EEDFCC"
Data[421] = "EEE0E5"
Data[422] = "EEE5DE"
Data[423] = "EEE685"
Data[424] = "EEE8AA"
Data[425] = "EEE8CD"
Data[426] = "EEE9BF"
Data[427] = "EEE9E9"
Data[428] = "EEEE00"
Data[429] = "EEEED1"
Data[430] = "EEEEE0"
Data[431] = "F08080"
Data[432] = "F08080"
Data[433] = "F0E68C"
Data[434] = "F0F0F0"
Data[435] = "F0F8FF"
Data[436] = "F0FFF0"
Data[437] = "F0FFFF"
Data[438] = "F2F2F2"
Data[439] = "F4A460"
Data[440] = "F5DEB3"
Data[441] = "F5F5DC"
Data[442] = "F5F5F5"
Data[443] = "F5F5F5"
Data[444] = "F5FFFA"
Data[445] = "F7F7F7"
Data[446] = "F8F8FF"
Data[447] = "FA8072"
Data[448] = "FAEBD7"
Data[449] = "FAF0E6"
Data[450] = "FAFAD2"
Data[451] = "FAFAFA"
Data[452] = "FCFCFC"
Data[453] = "FDF5E6"
Data[454] = "FF0000"
Data[455] = "FF00FF"
Data[456] = "FF1493"
Data[457] = "FF1493"
Data[458] = "FF3030"
Data[459] = "FF34B3"
Data[460] = "FF3E96"
Data[461] = "FF4040"
Data[462] = "FF4500"
Data[463] = "FF6347"
Data[464] = "FF69B4"
Data[465] = "FF6A6A"
Data[466] = "FF6EB4"
Data[467] = "FF7256"
Data[468] = "FF7F00"
Data[469] = "FF7F24"
Data[470] = "FF7F50"
Data[471] = "FF8247"
Data[472] = "FF82AB"
Data[473] = "FF83FA"
Data[474] = "FF8C00"
Data[475] = "FF8C69"
Data[476] = "FFA07A"
Data[477] = "FFA500"
Data[478] = "FFA54F"
Data[479] = "FFAEB9"
Data[480] = "FFB5C5"
Data[481] = "FFB6C1"
Data[482] = "FFB90F"
Data[483] = "FFBBFF"
Data[484] = "FFC0CB"
Data[485] = "FFC125"
Data[486] = "FFC1C1"
Data[487] = "FFD39B"
Data[488] = "FFD700"
Data[489] = "FFDAB9"
Data[490] = "FFDEAD"
Data[491] = "FFE1FF"
Data[492] = "FFE4B5"
Data[493] = "FFE4C4"
Data[494] = "FFE4E1"
Data[495] = "FFE7BA"
Data[496] = "FFEBCD"
Data[497] = "FFEC8B"
Data[498] = "FFEFD5"
Data[499] = "FFEFDB"
Data[500] = "FFF0F5"
Data[501] = "FFF5EE"
Data[502] = "FFF68F"
Data[503] = "FFF8DC"
Data[504] = "FFFACD"
Data[505] = "FFFAF0"
Data[506] = "FFFAFA"
Data[507] = "FFFF00"
Data[508] = "FFFFE0"
Data[509] = "FFFFF0"
Data[510] = "FFFFFF"
function checkDatabase() {
var Found = false
var Item = document.forms[0].color.value.toLowerCase();
for(Count = 1; Count <= Idx[0]; Count++) {
if(Item == Idx[Count]) {
Found = true;
alert("Hexadecimální hodnota pro '" + Item + "' je #" + Data[Count]);
win = window.open("","DisplayWindow","toolbar=no,width=400,height=200,directories=no,status=no,scrollbars=no,resize=no,menubar=no");
win.document.write("<HTML><HEAD></HEAD>");
win.document.write("<BODY BGCOLOR=\"#" + Data[Count] + "\">");
win.document.write("<CENTER><FORM NAME=\"form1\">");
win.document.write("<INPUT TYPE=\"button\" VALUE=\" Z A V Ř Í T \" onClick=\"self.close()\">");
win.document.write("</FORM>");
win.document.write("</BODY></HTML>");
break;
}
}
if(!Found)
alert("Promiňte, ale barva '" + Item + "' není obsažena v " + "databázi.");
}
function reverseDatabase() {
var Found = false
var Item = document.forms[1].color.value
for(Count = 1; Count <= Idx[0]; Count ++) {
if(Item == Data[Count]) {
Found = true;
document.forms[1].result.value = Idx[Count]
break;
}
}
if(!Found)
document.forms[1].result.value = "Takové hexadecimální číslo není";
}
function viewReverse() {
if(!(document.forms[1].color.value) ) {
alert("Promiňte žádná barva není určena..");
} else {
color = document.forms[1].color.value
win1 = window.open("","DisplayWindow","toolbar=no,width=300,height=200,directories=no,status=no,scrollbars=no,resize=no,menubar=no");
win1.document.write("<HTML><HEAD></HEAD>");
win1.document.write("<BODY BGCOLOR=\"" + color + "\">");
win1.document.write("<CENTER><FORM NAME=\"formx\">");
win1.document.write("<INPUT TYPE=\"button\" VALUE=\" Z A V Ř I \" onClick=\"self.close()\">");
win1.document.write("</FORM></BODY></HTML>");
}
}
// Cloaking Device Disabled -->
</SCRIPT>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
Tento kód může být použit v mnoha různých typech aplikací.
Představte si online help nebo katalog se stovkami položek.! <p>
Zde je pro příklad použita knihovna barev. Jednoduše se vloží barva do textového pole,
stiskne se tlačítko a zobrazí okno s hexadecimální hodnotu barvy (pokud existuje v databázi).)
Také se zobrazí malé okénko s pozadím dle zadané barvy.
<FORM NAME="form1">
Prosím vložte barvu:<BR>
<INPUT TYPE="text" NAME="color" SIZE=20><BR>
<INPUT TYPE="button" VALUE="Odeslat" onClick="checkDatabase()"><BR>
</FORM>
<p>
Vlož hodnou v hexadecimální soustavě do textového pole. Nevkládej symbol # a ujisti se že zapnuto CAPS na klávesnici.
Stiskni Odeslat a v poli se zobrazí název barvy. Stiskni Náhled a otevře se malé okno se pozadím v zadané barvě.
<FORM NAME="form2">
Prosím vložte hexadecimální hodnotu barvy:<BR>
<INPUT TYPE="text" NAME="color" SIZE=6><BR>
<INPUT TYPE="button" VALUE=" Odeslat " onClick="reverseDatabase()"><NOBR>
<INPUT TYPE="reset" VALUE=" Smazat ">
<INPUT TYPE="button" VALUE=" Náhled" onClick="viewReverse()"></NOBR><p>
<Font size=+1>Výsledek</font>
<INPUT TYPE="text" NAME="result" SIZE=20><BR>
</FORM>
<!-- END OF SCRIPT -->
<!/SCRIPT>
|
Zadal/a:
|
Linuxák
|
|
Vyhledávání software
Vyhledávání článků
28.11.2018 23:56 /František Kučera Prosincový sraz spolku OpenAlt se koná ve středu 5.12.2018 od 16:00 na adrese Zikova 1903/4, Praha 6. Tentokrát navštívíme organizaci CESNET. Na programu jsou dvě přednášky: Distribuované úložiště Ceph (Michal Strnad) a Plně šifrovaný disk na moderním systému (Ondřej Caletka). Následně se přesuneme do některé z nedalekých restaurací, kde budeme pokračovat v diskusi.
Komentářů: 1
12.11.2018 21:28 /Redakce Linuxsoft.cz 22. listopadu 2018 se koná v Praze na Karlově náměstí již pátý ročník konference s tématem Datová centra pro business, která nabídne odpovědi na aktuální a často řešené otázky: Jaké jsou aktuální trendy v oblasti datových center a jak je optimálně využít pro vlastní prospěch? Jak si zajistit odpovídající služby datových center? Podle jakých kritérií vybírat dodavatele služeb? Jak volit vhodné součásti infrastruktury při budování či rozšiřování vlastního datového centra? Jak efektivně datové centrum spravovat? Jak co nejlépe eliminovat možná rizika? apod. Příznivci LinuxSoftu mohou při registraci uplatnit kód LIN350, který jim přinese zvýhodněné vstupné s 50% slevou.
Přidat komentář
6.11.2018 2:04 /František Kučera Říjnový pražský sraz spolku OpenAlt se koná v listopadu – již tento čtvrtek – 8. 11. 2018 od 18:00 v Radegastovně Perón (Stroupežnického 20, Praha 5). Tentokrát bez oficiální přednášky, ale zato s dobrým jídlem a pivem – volná diskuse na téma umění a technologie, IoT, CNC, svobodný software, hardware a další hračky.
Přidat komentář
4.10.2018 21:30 /Ondřej Čečák LinuxDays 2018 již tento víkend, registrace je otevřená.
Přidat komentář
18.9.2018 23:30 /František Kučera Zářijový pražský sraz spolku OpenAlt se koná již tento čtvrtek – 20. 9. 2018 od 18:00 v Radegastovně Perón (Stroupežnického 20, Praha 5). Tentokrát bez oficiální přednášky, ale zato s dobrým jídlem a pivem – volná diskuse na téma IoT, CNC, svobodný software, hardware a další hračky.
Přidat komentář
9.9.2018 14:15 /Redakce Linuxsoft.cz 20.9.2018 proběhne v pražském Kongresovém centru Vavruška konference Mobilní řešení pro business.
Návštěvníci si vyslechnou mimo jiné přednášky na témata: Nejdůležitější aktuální trendy v oblasti mobilních technologií, správa a zabezpečení mobilních zařízení ve firmách, jak mobilně přistupovat k informačnímu systému firmy, kdy se vyplatí používat odolná mobilní zařízení nebo jak zabezpečit mobilní komunikaci.
Přidat komentář
12.8.2018 16:58 /František Kučera Srpnový pražský sraz spolku OpenAlt se koná ve čtvrtek – 16. 8. 2018 od 19:00 v Kavárně Ideál (Sázavská 30, Praha), kde máme rezervovaný salonek. Tentokrát jsou tématem srazu databáze prezentaci svého projektu si pro nás připravil Standa Dzik. Dále bude prostor, abychom probrali nápady na využití IoT a sítě The Things Network, případně další témata.
Přidat komentář
16.7.2018 1:05 /František Kučera Červencový pražský sraz spolku OpenAlt se koná již tento čtvrtek – 19. 7. 2018 od 18:00 v Kavárně Ideál (Sázavská 30, Praha), kde máme rezervovaný salonek. Tentokrát bude přednáška na téma: automatizační nástroj Ansible, kterou si připravil Martin Vicián.
Přidat komentář
Více ...
Přidat zprávičku
Poslední diskuze
31.7.2023 14:13 /
Linda Graham iPhone Services
30.11.2022 9:32 /
Kyle McDermott Hosting download unavailable
13.12.2018 10:57 /
Jan Mareš Re: zavináč
2.12.2018 23:56 /
František Kučera Sraz
5.10.2018 17:12 /
Jakub Kuljovsky Re: Jaký kurz a software by jste doporučili pro začínajcího kodéra?
Více ...
|