Translate and Convert RGB Color Values into Hexadecimal Hex Equivalent Tulko un Convert RGB Color vērtības heksadecimālais Hex Līdzvērtīgas

In a html web page, there is code such as <body bgcolor=#ffffff> or color=”#000000″ . In a html interneta lapā, ir kods, piemēram, <body bgcolor=#ffffff> vai color = "# 000000". The “ffffff” is the colour RGB hexadecimal value which will translate into a white, and “000000″ is black. The "ffffff" ir krāsu RGB heksadecimālu vērtību, kas būs pārvērst par baltu, un "000000" ir melna.

The RGB colour code must be converted into hexadecimal (Base-16) number in order for the browsers to understand them. The RGB krāsu kodu jāpārvērš heksadecimālā (Base-16) numuru, lai Eiropas pārlūkprogrammās izprast tos. Then the resulting two-digit hexadecimal (”hex” for short) numbers are strung together into a single six-digit code. Pēc tam iegūtais divciparu heksadecimālais ( "heks" par īstermiņa) numuri ir savērtas kopā apvienošanās vienā sešciparu 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. Tā, piemēram iepriekš, pirmo divu "F" s "un" 0 "s kandidēt sarkano vērtībā, tuvāko divu stāvēt zaļa, un pēdējo divu zilās.

It's possible to get the RGB hex value from a colour chart. Tas ir iespējams iegūt RGB Hex vērtība no krāsu diagrammu. But if you encounter a favorite colour, it's possible to get its RGB value and convert it into hex code. Bet, ja jums rodas izlasei krāsu, ir iespējams, lai saņemtu tās RGB vērtību un pārvērts Hex kodu.

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. Lai iegūtu RGB vērtību, krāsa no fotogrāfiju, vienkārši atveriet fotogrāfiju vai attēlu Microsoft Paint vai kādu attēlu apstrādes programmatūru. Use the pick color tools to pick the colour and the RGB value should be shown. Izmantojiet pick color instrumentus izvēlēties krāsu un RGB vērtība ir jānorāda. For Microsoft Paint, after you pick the colour, click on Colors menu, and then Edit Colors. Microsoft Paint pēc tam, kad jūs izvēlaties krāsu, noklikšķiniet uz Colors izvēlnē, un pēc tam Edit Colors. On the window shown, click on Define Custom Colors, and you will see the RGB value of the color you just selected shown there. No logu redzams, noklikšķiniet uz Definēt pielāgotās Colors, un tu redzēsi RGB vērtību, krāsu, kuru nupat izvēlēto shown tur.

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. Tulkošanas / pāriet uz Hex aprēķinu, mēs izmantosim krāsu piemīlīgs jūras zaļš ar RGB vērtībām, R = 51, G = 219, B = 153, kā piemērs.

To translate the RGB value into hexadecimal value, first take the value of Red (51) and divide it by 16. Tulkot RGB vērtība vērā heksadecimālu vērtību, vispirms veic vērtība Red (51) un sadalīt to ar 16. The balance is 3.1875. Līdzsvars ir 3,1875. The integer, 3, will be the first number in the hexadecimal formula. Šis skaitlis, 3, būs pirmais numurs, heksadecimālais formulu. The remainder (0.1875) should be multiplied by 16, which also results in the number 3. Pārējo (0,1875) jāreizina ar 16, kas arī rezultātus, numurs 3. So, 51 translates to 33 in hex. Tātad, 51 pārveido līdz 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. Ja jums integers un paliekas, kas izpaužas kā no 10 vai 15, tad tulko divciparu skaitlis, izveidojot vienu vēstuli (tas ir, kad visi d's un f's nonāk), kur 10 = A 11 = B, 12 = C, 13 = attīstībā, 14 = E, un 15 = F. This becomes relevant to our lovely sea green when we calculate the hexadecimal equivalent of its Green value, which is 219. Šī ir saistīta ar mūsu piemīlīgs jūras zaļā, kad mēs aprēķinātu heksadecimālais līdzvērtīgs tās Zaļās vērtības, kas ir 219. When we divide it by 16, we get 13.69. Kad mēs sadalīt pa 16, mēs 13,69. We translate 13 to D, and then multiply the remainder – 0.69 – by 16, and get 11, which equals B. Mēs tulkojam 13 līdz D, un pēc tam vairoties atlikušo - 0,69 - par 16, un saņemiet 11, kas ir vienāds ar B.

Repeat this formula for the Blue value, and then string them together (you should get 33DB99). Atkārtojiet šo formulu Blue vērtību, un tad string tos kopā (jums vajadzētu saņemt 33DB99). 33DB99 is the RGB Hexadecimal value for the colour which can be used in the html web page. 33DB99 ir RGB heksadecimālu vērtību, krāsa, kas var izmantot HTML interneta lapu.

IMPORTANT : The page is machine translated and provided "as is" without warranty. SVARĪGI: Šī lapa ir mašīna tulkoto un ar nosacījumu ", kas ir" bez garantijas. Machine translation may be difficult to understand. Machine translation var būt grūti saprast. Please refer to Lūdzu, skatiet original English article oriģināls angļu rakstu whenever possible. kad vien iespējams.


7 Responses to “Translate and Convert RGB Color Values into Hexadecimal Hex Equivalent”

  1. aneess aneess
    March 31st, 2009 15:38 Marts 31, 2009 15:38
    7 7

    Yeah…so long i want to get this formula.Thank you so much. Yeah ... ja es vēlos saņemt šo formula.Thank you so much.

  2. Google AdSense Legacy Old Generation Code Reference (Generate and Get) » My Digital Life Google AdSense Legacy Vecā Generation Kods Atsauce (Sagatavot un Get) »Mans Digital Life
    January 17th, 2009 04:03 Janvāris 17, 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 - noteiktu krāsu ad robežas, ad fons, reklāmas virsraksts katras reklāmas, reklāmas tekstu iekšpusē reklāmas blokā, un URL ir apakšā katrai reklāmu. Up to 4 separate values (differentiated by commas) can be supplied for automatic color rotation when the ad is served by the Google server. Līdz 4 atsevišķas vērtības (diferencētas ar komatiem) var piegādāt automātisku krāsu rotāciju, kad reklāma tiek piegādāts ar Google serveri. The image ads does not affect by these values. Attēlu reklāmas neietekmē ar šīm vērtībām. Note that the color value should be converted in hexadecimal format. Ievērojiet, ka krāsu vērtību konvertē heksadecimālā formātā. [...] [...]

  3. Kevin Benefield Kevin Benefield
    January 7th, 2009 04:37 Janvāris 7, 2009 04:37
    5 5

    THANK YOU SOOO MUCH!!!! PALDIES SOOO much!! I lost a hex value for a color that I needed desperately! Es pazaudēju a Hex vērtība krāsu, ka man vajadzīga, izmisīgi! I almost paniced! Es gandrīz paniced! But when I found this site, it worked perfectly! Taču, kad es atklāju šo vietni, tā strādāja perfekti! Thanks to whoever made this site!!! Pateicoties kurš veikts šajā lapā!

  4. Ace Frye Ace Frye
    September 5th, 2008 23:29 Septembris 5, 2008 23:29
    4 4

    Thank you sir, this is exactly what I was looking for. Thank you sir, tas ir tieši tas, ko es biju meklē. Plus, you are the top result on google when searching “how to translate rgb into hex” Plus, esat top rezultāti par google, meklējot "to, kā pārvērst RGB vērā Hex"

  5. admin admin
    December 5th, 2006 18:33 Decembris 5, 2006 18:33
    3 3

    Hi sorry anon, the keywords are based on what users search, and is not controllable. Hi sorry anon, atslēgvārdi, pamatojas uz to, ko lietotāji meklē, un tas nav kontrolējams.

  6. anon anon
    December 5th, 2006 18:07 Decembris 5, 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. Tas ir nopelt maldinoši stuff vārdu "Pantone" Jūsu atslēgvārdiem, kad jums nav diskusija par to vispār.

  7. Lewis Stratton Lewis Stratton
    April 11th, 2006 11:59 Aprīlis 11, 2006 11:59
    1 1

    What a fantastic page. What a fantastic lapā. The web is full of ready-made converter tools, but I love to know HOW things are done. Web ir pilns ar gatavu pārveidotāja instrumenti, bet es mīlu zināt, kā lietas tiek darīts. Your page on RGB to Hex conversion is well written and straightforward. Jūsu lapu RGB uz Hex konversija ir arī rakstveida un vienkārša.

    What a bonus to DIY webmasters such as myself. Kas prēmiju uz Diy tīmekļa pārziņiem, piemēram, sevi. Many thanks. Many thanks.

Leave a Reply Atstāj atbildi

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> Jūs varat izmantot šos tagus: <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. Parakstīties uz komentāriem iezīme ir atspējota. To receive notification of latest comments posted, subscribe to Lai saņemtu paziņojumu par jaunāko komentāri norīkots darbā, abonēt My Digital Life Comments RSS feed Mani Digital Life Comments RSS feed or vai register to receive reģistrēties, lai saņemtu new comments in daily email digest. jauni komentāri ikdienas e-pasta sagremot.
Custom Search

New Articles Jauns pants

Incoming Search Terms for the Article Incoming Meklēt Noteikumi par pants

convert rgb to pms konvertēt RGB uz PMS - -- convert pms to rgb konvertēt PMS ar RGB - -- pantone rgb equivalent pantoņa RGB ekvivalents - -- translate rgb to hex tulkot RGB uz Hex - -- rgb translator RGB tulkotājs - -- hex color translation Hex krāsu translation - -- colour translation krāsu translation - -- Hex translation Hex translation - -- hex color translator Hex krāsu tulkotājs - -- convert pantone to hex konvertēt pantoņa lai Hex - -- pantone to hex converter pantoņa lai Hex pārveidotājs - -- translate color code tulkot krāsu kods - -- rgb translation RGB translation - -- hex to pantone converter Hex lai pantoņa pārveidotājs - -- rgb pantone equivalent RGB pantoņa ekvivalents - -- color code translation krāsu kodu - -- color translate krāsu tulkot - -- rgb to pms converter RGB ar PMS pārveidotājs - -- hex to pantone conversion Hex lai pantoņa konversija - -- pantone translation pantoņa translation - -- pantone to hexadecimal converter pantoņa ar heksadecimālu pārveidotājs - -- RGB color translation RGB krāsu translation - -- colour translator krāsu tulkotājs - -- rgb to pms RGB ar PMS - -- convert hex to pantone konvertēt Hex lai pantoņa - -- PMS to RGB converter PMS ar RGB pārveidotājs - -- convert rgb value pārveidot RGB vērtības - -- pantone rgb converter pantoņa RGB pārveidotājs - -- pms color chart converter PMS krāsu diagrammu pārveidotājs - -- convert hex to pms konvertēt Hex lai PMS - -- hex to english converter Hex uz angļu pārveidotājs - -- Pantone rgb conversion Pantone RGB konversija - -- translate rgb to html tulkot RGB uz html - -- rgb value converter RGB vērtība pārveidotājs - -- convert pantone to rgb konvertēt pantoņa lai RGB - -- pantone equivalent rgb pantoņa ekvivalents RGB - -- RGB PMS converter RGB PMS pārveidotājs - -- Hexadecimal to english Converter Heksadecimālais uz angļu Converter - -- translate rgb to hexadecimal tulkot RGB ar heksadecimālu - -- Colour code translation Krāsu kods translation - -- RGB to PMS translation RGB ar PMS translation - -- all viss - -- convert rgb to pms color konvertēt RGB uz PMS krāsu - -- convert pms to rgb chart konvertēt PMS ar RGB chart - -- convert rgb to integer konvertēt RGB līdz skaitlim - -- pantone to hex conversion pantoņa lai Hex konversija - -- translate pms to rgb tulkot PMS ar RGB - -- color converter pantone krāsu pārveidotājs pantoņa - -- translate hex color tulkot Hex krāsu - -- PMS color translation PMS krāsu translation - -- translate rgb color tulkot RGB krāsu - -- translate Color codes tulkot Krāsu kodi - -- hex colour translation Hex krāsu translation - -- RGB color equivalent RGB krāsu ekvivalents - -- pms rgb convert PMS RGB konvertēt - -- pantone translator pantoņa tulkotājs - -- rgb pantone conversion RGB pantoņa konversija - -- pms color convert rgb PMS krāsu pārvērstu RGB - -- rgb color equivalents RGB krāsu ekvivalenti - -- convert RGB to int konvertēt RGB ar int - -- hex to pms converter Hex ar PMS pārveidotājs - -- rgb to pantone conversion RGB ar pantoņa konversija - -- hex to rgb formula Hex uz RGB formula - -- rgb naar pms RGB naar PMS - -- rgb to pms color RGB ar PMS krāsu - -- pms color converter PMS krāsu pārveidotājs - -- pms to hex PMS ar Hex - -- translate hex colors tulkot Hex krāsas - -- pantone rgb color conversion pantoņa RGB krāsu konversija - -- translate rgb tulkot RGB - -- pantone rgb values pantoņa RGB vērtības - -- rgb colour translator RGB krāsu tulkotājs - -- converting pantone to rgb konvertējošā pantoņa lai RGB - -- rgb color translate RGB krāsu tulkot - -- color code translate krāsu kods tulkot - --