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.


8 Responses to “Translate and Convert RGB Color Values into Hexadecimal Hex Equivalent” 8 Responses to "išversti ir konvertuoti RGB spalvų į šešioliktainis Hex ekvivalentas"

  1. 596573 596573
    November 8th, 2009 19:43 8 lapkritis 2009 19:43
    8 8

    4655434B 4655434B

  2. aneess aneess
    March 31st, 2009 15:38 Kovas 31, 2009 15:38
    7 7

    Yeah…so long i want to get this formula.Thank you so much. Yeah ... kol aš noriu gauti šiuo formula.Thank you so much.

  3. Google AdSense Legacy Old Generation Code Reference (Generate and Get) » My Digital Life Google AdSense Legacy vyresnės kartos kodas Nuoroda (Generuoti ir gauti) »Mano skaitmeninis gyvenimas
    January 17th, 2009 04:03 17 sausis 2009 04:03
    6 6

    [...] 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. [...] [...]

  4. Kevin Benefield Kevin Benefield
    January 7th, 2009 04:37 7 sausis 2009 04:37
    5 5

    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ę!

  5. Ace Frye Ace Frye
    September 5th, 2008 23:29 Rugsėjis 5, 2008 23:29
    4 4

    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"

  6. admin Administratorius
    December 5th, 2006 18:33 5 gruodis 2006 18:33
    3 3

    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.

  7. anon anon
    December 5th, 2006 18:07 5 gruodis 2006 18:07
    2 2

    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.

  8. Lewis Stratton Lewis Stratton
    April 11th, 2006 11:59 11 balandis 2006 11:59
    1 1

    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.

Leave a Reply Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Galite naudoti šiuos žodžius: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Subscribe to comments funkcija buvo išjungta. To receive notification of latest comments posted, subscribe to Norėdami gauti pranešimus apie naujausius komentarų, užsiprenumeruoti My Digital Life Comments RSS feed Mano skaitmeninis gyvenimas Komentarų RSS or arba register to receive Registruokitės gauti new comments in daily email digest. Nauji komentarai kasdien elektroniniu paštu.
Custom Search

New Articles Nauji straipsniai

Incoming Search Terms for the Article Gaunamus paieškos terminus straipsnis

hex color translator Hex spalvų vertėjas - -- convert RGB to PMS konvertuoti RGB į PMS - -- hex to pms HEX į PMS - -- translate rgb to hex Versti RGB į HEX - -- color code translator spalvos kodas vertėjas - -- pantone translation Pantone vertimas - -- pantone 5045 translate Pantone 5.045 išversti - -- pantone to hex converter Pantone į HEX konverteris - -- convert pantone to hex konvertuoti Pantone į HEX - -- rgb to pms conversion RGB į PMS konversija - -- RGB translation RGB vertimas - -- pms color conversion PMS spalvų keitimo - -- color translater spalvotas vertėjas - -- hex to pms converter HEX į PMS konverteris - -- pms to rgb conversion PMS į RGB konversiją - -- rgb color translator RGB vertėjas - -- rgb translate RGB išversti - -- translate to rgb versti RGB - -- translate rgb to html color Versti RGB į HTML spalvos - -- convert rgb to integer konvertuoti RGB į sveikas - -- pantone rgb translation Pantone RGB vertimas - -- pantone equivalent rgb Pantone lygiavertis RGB - -- translate rgb Versti RGB - -- convert pms to rgb PMS konvertuoti į RGB - -- convert rgb to int konvertuoti RGB į LC - -- covert hexadecimal value into rgb format paslėptas šešioliktainis vertė į RGB formatą - -- convert pms color to hex konvertuoti PMS spalvą hex - -- hex pms converter HEX PMS konverteris - -- pantone color translator Pantone spalvų vertėjas - -- rgb translator RGB vertėjas - -- hex colors translator Hex spalvų vertėjas - -- pms colors into hex colors PMS spalvų į hex spalvos - -- 715 HEXADECIMAL 715 HEXADECIMA L - -- convert pantone black 7 y hexadecimal konvertuoti Pantone Black 7 Y šešioliktainis - -- hex to rgb formula HEX į RGB formulė - -- convert pantone color to hex value konvertuoti Pantone spalva hex value - -- pantone rgb equivalent Pantone RGB lygiavertis - -- translate into hexadecimal virsta šešioliktainis - -- translate rgb to pantone Versti RGB į Pantone - -- translate to hex value Išversti į hex value - -- hex color translate Hex spalvų išversti - -- online pms hex equivalent online PMS HEX lygiavertis - -- color html RGB translate spalvų html RGB išversti - -- convert pms colors to hex online konvertuoti PMS spalvos HEX internete - -- pms color translations PMS spalva vertimai - -- pms to hex color PMS į šešioliktainis spalvos - -- converting rgb to pantone u konvertuoti RGB į Pantone U - -- hexadecimal color uses šešioliktainis spalvos naudoja - -- how to translate color code kaip išversti spalvos kodas - -- translating colors to hexadecimal Translating spalvos šešioliktainis - --