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.
Related Articles Saistītie raksti
- Oracle PL/SQL ORA-00947 Not Enough Values Error Oracle PL / SQL ORA-00947 Not Enough Vērtības kļūdu
- Get the Color Code with Instant Eyedropper Saņem Color kodeksa Instant Eyedropper
- Verbatim's New Color Nano Wireless Notebook Mouse with 2.4GHz Receiver Verbatim's New Color Nano Wireless Notebook Mouse ar 2.4GHz Receiver
- Sony Carnival Color Collection PSP-3000 Sony Carnival Color Collection PSP-3000
- HTML Color Names HEX Codes Chart Table HTML Color Names HEX Codes Chart tabula
- Change the Skin Color for Yahoo Messenger 9 Maina ādas krāsu Yahoo Messenger 9
- eyePilot to help Color-Blind People eyePilot, lai palīdzētu Color-Blind People
- How to Change the CSS Style, Font, Spacing, Alignment and Color of WordPress Image Captions Kā nomainīt CSS stilu, Font, atstarpēm, Regulēšana un krāsu WordPress attēlu parakstus
- JVC 42″ Xiview LT-42WX70 HDTV With Wider Color Space For D-SLR Fans JVC 42 "Xiview LT-42WX70 HDTV ar plašāku Color Space D-SLR Ventilatori
- Separate Color In Digital Images With tintii Atsevišķi Color ciparu attēli ar tintii










































March 31st, 2009 15:38 Marts 31, 2009 15:38
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.
January 17th, 2009 04:03 Janvāris 17, 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 - 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ā. [...] [...]
January 7th, 2009 04:37 Janvāris 7, 2009 04:37
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ā!
September 5th, 2008 23:29 Septembris 5, 2008 23:29
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"
December 5th, 2006 18:33 Decembris 5, 2006 18:33
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.
December 5th, 2006 18:07 Decembris 5, 2006 18:07
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.
April 11th, 2006 11:59 Aprīlis 11, 2006 11:59
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.