Translate and Convert RGB Color Values into Hexadecimal Hex Equivalent Išversti ir konvertuoti RGB spalvų į šešioliktainis Hex Ekvivalentas
In a html web page, there is code such as <body bgcolor=#ffffff> or color=”#000000″ . Į html puslapį, ten yra kodas, pvz <body bgcolor=#ffffff> arba color = "# 000000". The “ffffff” is the colour RGB hexadecimal value which will translate into a white, and “000000″ is black. "FFFFFF" yra spalvą RGB šešioliktainis vertę, kuri bus pervesti į balta, ir "000000" juoda.
The RGB colour code must be converted into hexadecimal (Base-16) number in order for the browsers to understand them. RGB spalvos kodas turi būti perskaičiuotos į šešioliktainis (Base-16) numerį, kad dėl naršyklių suprasti juos. Then the resulting two-digit hexadecimal (”hex” for short) numbers are strung together into a single six-digit code. Tada dėl dviženklis šešioliktainis ( "hex" trumpo) numeriai yra kartu suverti į vieną šešių skaitmenų kodu. So in the example above, the first two “f”s and “0″s stand for the red value, the next two stand for green, and the last two for blue. Taigi, pavyzdyje aukščiau, pirmąsias dvi "F" S "ir" 0 "S stovėti raudona vertė ateinančius dvejus stovėti žalia, ir pastaruosius dvejus žydrųjų.
It's possible to get the RGB hex value from a colour chart. Tai galima gauti naudos iš RGB Hex spalvų lentelę. But if you encounter a favorite colour, it's possible to get its RGB value and convert it into hex code. Bet jei jums kyla mėgstamą spalvą, tai galima gauti jo vertė RGB ir konvertuoti jį į hex kodą.
To get the RGB value of a colour from a photo, simply open the photo or picture in Microsoft Paint or any image processing software. Norėdami RGB vertė spalvos nuotrauka, tiesiog atidarykite nuotrauką ar paveikslėlį Microsoft Paint ar vaizdų apdorojimo programinė įranga. Use the pick color tools to pick the colour and the RGB value should be shown. Naudokite pasirinkti spalvą įrankius pasirinkti spalvą ir RGB vertė turi būti parodyta. For Microsoft Paint, after you pick the colour, click on Colors menu, and then Edit Colors. Jei Microsoft Paint, po to, kai jūs pasirenkate spalvą, spustelėkite Spalvos meniu, tada Redaguoti spalvos. On the window shown, click on Define Custom Colors, and you will see the RGB value of the color you just selected shown there. Lango rodomas, spustelėkite Nustatyti spalvas, ir jūs pamatysite vertė RGB spalvų tiesiog eiga parodyta ten.
For translation/conversion to Hex calculation, we will use the color of lovely sea green with the RGB values R=51, G=219, B=153 as example. Vertimų / konversija į Hex apskaičiavimas, mes naudosime ir puikus jūra žalia RGB vertes R = 51, spalvotas G = 219, B = 153, kaip pvz.
To translate the RGB value into hexadecimal value, first take the value of Red (51) and divide it by 16. Versti vertė RGB į šešioliktainis vertę, ji pirmiausia imasi Red (51) vertės ir padalinti iš 16. The balance is 3.1875. Balansas yra 3,1875. The integer, 3, will be the first number in the hexadecimal formula. Sveikasis skaičius, 3, bus pirmasis numeris šešioliktainis formulė. The remainder (0.1875) should be multiplied by 16, which also results in the number 3. Likusi dalis (0,1875) turi būti padauginta iš 16, kurie taip pat rezultatų skaičius 3. So, 51 translates to 33 in hex. Taigi, 51 perkoduoja į 33 HEX.
If you get integers and remainders that translate into from 10 or 15, then translate the two-digit number into a single letter (that's where all the d's and f's come in), where 10=A, 11=B, 12=C, 13=D, 14=E, and 15=F. Jei gaunate sveikuosius skaičius ir kitos liekanos, kad virsta iš 10 ar 15, tada išversti dviženklis skaičius į vieną raidę (kad ten visi D ir F savo ateiti), jei 10 = 11 = B, 12 = C, 13 = D = 14 E, 15 = F This becomes relevant to our lovely sea green when we calculate the hexadecimal equivalent of its Green value, which is 219. Tai tampa svarbi mūsų gražių jūra žalia, kai mes apskaičiuoti šešioliktainis atitikmuo Žaliojoje, kurio vertė yra 219. When we divide it by 16, we get 13.69. Kai mes padalinti iš 16, gauname 13,69. We translate 13 to D, and then multiply the remainder – 0.69 – by 16, and get 11, which equals B. Verčiame 13 iki D, o tada padauginkite likutis - 0,69 - iki 16 ir gausite 11, tai lygu B.
Repeat this formula for the Blue value, and then string them together (you should get 33DB99). Kartokite šią formulę Blue vertę, ir tada seka jie kartu (turėtumėte gauti 33DB99). 33DB99 is the RGB Hexadecimal value for the colour which can be used in the html web page. 33DB99 yra RGB šešioliktainis vertė spalva, kuri gali būti naudojama į HTML puslapį.
IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Automatinis vertimas gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.
Related Articles Susiję straipsniai
- Get the Color Code with Instant Eyedropper Gauti Spalva Kodas Instant Pipetė
- Translate Movie Subtitles with Subtitle Translation Applications Versti Movie Subtitles su Subtitle Translation Programos
- Client for Google Translate Simplifies Text Translation and Access to Wikipedia in Webpages and Applications Klientas "Google Translate" supaprastina teksto vertimas ir teisės kreiptis į Wikipedia puslapius ir programos
- Oracle PL/SQL ORA-00947 Not Enough Values Error Oracle PL / SQL ORA-00947 Nepakanka vertės paklaida
- Verbatim's New Color Nano Wireless Notebook Mouse with 2.4GHz Receiver Verbatim Nauja Spalva Nano Wireless Notebook pelė su 2.4GHz imtuvas
- Sony Carnival Color Collection PSP-3000 Sony Karnavalas Spalva Collection PSP-3000
- Change the Skin Color for Yahoo Messenger 9 Keisti odos spalvos ir 9 Yahoo Messenger
- HTML Color Names HEX Codes Chart Table HTML Spalvų pavadinimai HEX kodai pav lentelė
- How to Remove or Delete a Registry Key, Subkey and Values with .reg Registration Entries File Kaip pašalinti ar ištrinti registro raktas, rakto ir vertes. Raj registracijos įrašų Failų
- eyePilot to help Color-Blind People eyePilot padėti daltoniškas Žmonės










































November 8th, 2009 19:43 8 lapkritis 2009 19:43
4655434B 4655434B
March 31st, 2009 15:38 Kovas 31, 2009 15:38
Yeah…so long i want to get this formula.Thank you so much. Yeah ... kol aš noriu gauti šiuo formula.Thank you so much.
January 17th, 2009 04:03 17 sausis 2009 04:03
[...] google_color_border, google_color_bg, google_color_link, google_color_text, google_color_url – Determines the color of the ad border, ad background, ad title of each ad, ad text inside the ad block, and URL at bottom of each ad. [...] Google_color_border, Google_color_bg, Google_color_link, Google_color_text, Google_color_url - Nustato skelbimą sienos, reklamos fone, skelbimo antraštę kiekvieno skelbimo spalvą, teksto vidų reklaminis blokas, ir URL apačioje kiekvieno skelbimo. Up to 4 separate values (differentiated by commas) can be supplied for automatic color rotation when the ad is served by the Google server. Iki 4 atskirų verčių (Diferencijuoti kableliais) gali būti pateikiama automatinio spalvų rotacijos, kai skelbimas įteiktas "Google" serveryje. The image ads does not affect by these values. Vaizdinių skelbimų neturi įtakos šių vertybių. Note that the color value should be converted in hexadecimal format. Atkreipkite dėmesį, kad spalva vertė turėtų būti konvertuojama į šešioliktainis formatu. [...] [...]
January 7th, 2009 04:37 7 sausis 2009 04:37
THANK YOU SOOO MUCH!!!! Thank you sooo much!! I lost a hex value for a color that I needed desperately! Pamečiau HEX vertė spalva, kad man reikia žūtbūt! I almost paniced! Aš beveik paniced! But when I found this site, it worked perfectly! Bet kai radau šią svetainę, jis dirbo puikiai! Thanks to whoever made this site!!! Ačiū kas padarė šią svetainę!
September 5th, 2008 23:29 Rugsėjis 5, 2008 23:29
Thank you sir, this is exactly what I was looking for. Dėkojame, pone, tai yra būtent tai, ko aš ieškojau. Plus, you are the top result on google when searching “how to translate rgb into hex” Plius, jūs Geriausias rezultatas "Google" ieškant "kaip išversti RGB į HEX"
December 5th, 2006 18:33 5 gruodis 2006 18:33
Hi sorry anon, the keywords are based on what users search, and is not controllable. Hi Atsiprašome anon, raktiniai žodžiai yra pagal tai, ką vartotojai ieško, o ne kontroliuoti.
December 5th, 2006 18:07 5 gruodis 2006 18:07
It's damn misleading to stuff the word “pantone” into you keywords when you don't talk about it at all. Tai Damn klaidina Daiktai žodis "Pantone" į jūsų raktiniai žodžiai, kai jūs don't talk about it at all.
April 11th, 2006 11:59 11 balandis 2006 11:59
What a fantastic page. Koks fantastinis puslapyje. The web is full of ready-made converter tools, but I love to know HOW things are done. Internete yra pilna gatavų konverteris įrankius, bet man patinka žinoti, kas yra padaryta. Your page on RGB to Hex conversion is well written and straightforward. Jūsų puslapio RGB į Hex konversija gerai parašyta ir paprasta.
What a bonus to DIY webmasters such as myself. Kas premijos DIY meistrams kaip save. Many thanks. Many thanks.