Translate and Convert RGB Color Values into Hexadecimal Hex Equivalent Překládejte a Konvertova RGB hodnoty do Šestnástková Hex Ekvivalent
In a html web page, there is code such as <body bgcolor=#ffffff> or color=”#000000″ . V html stránku, je kód, ako je <body bgcolor=#ffffff> alebo color = "# 000000". The “ffffff” is the colour RGB hexadecimal value which will translate into a white, and “000000″ is black. V "FFFFFF" je farba RGB šestnástkovo hodnotu, ktorá sa prejaví v bielom, a "000000" je čierna.
The RGB colour code must be converted into hexadecimal (Base-16) number in order for the browsers to understand them. V RGB kód farby musia byť prevedené do šestnástkovom (Base-16) Číslo za účelom prehliadačov rozumieť im. Then the resulting two-digit hexadecimal (”hex” for short) numbers are strung together into a single six-digit code. Potom výsledné dva-digit šestnástkovo ( "hex" pre krátke) čísla sú navlečené spoločne v jedinej šesť-číselný kód. 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. Takže vo vyššie uvedenom príklade, prvé dve "f" a je "0" s stánku pre červené hodnoty, ďalšie dva stojí za zelené, a posledné dve na modrú.
It's possible to get the RGB hex value from a colour chart. Je možné získať RGB Hex hodnota z tabuľky farieb. But if you encounter a favorite colour, it's possible to get its RGB value and convert it into hex code. Ale ak narazíte na obľúbenú farbu, je to možné získať jeho RGB hodnoty a previesť ho do hex kódu.
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. Ak chcete získať RGB hodnoty farby z fotografie, stačí otvoriť fotografiu alebo obrázok v programe Maľovanie alebo akýkoľvek softvér pre spracovanie obrazu. Use the pick color tools to pick the colour and the RGB value should be shown. Pomocou nástroja pre výber farieb na výber farby a RGB hodnoty by mali byť uvedené. For Microsoft Paint, after you pick the colour, click on Colors menu, and then Edit Colors. Pre Microsoft Paint, potom, čo si vyberiete farbu, kliknite na Farby menu a potom Edit farby. On the window shown, click on Define Custom Colors, and you will see the RGB value of the color you just selected shown there. Na okne zobrazená, kliknite na Definovať vlastné farby a uvidíte RGB hodnoty farby vybraných ste práve zobrazené tam.
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. Za preklad / konverzie na Hex výpočte budeme používať farbu krásne more zelene s RGB hodnoty R = 51, G = 219, B = 153 ako príklad.
To translate the RGB value into hexadecimal value, first take the value of Red (51) and divide it by 16. Přeloľit RGB hodnoty do šestnástkovom hodnoty, prvý mať hodnotu Red (51) a vydelíme ju 16. The balance is 3.1875. Rovnováha je 3,1875. The integer, 3, will be the first number in the hexadecimal formula. Celočíselná, 3, bude sa jednať o prvé číslo v hexadecimálnej vzorec. The remainder (0.1875) should be multiplied by 16, which also results in the number 3. Zvyšok (0,1875) by mala byť vynásobenú 16, ktorý tiež výsledky v počte 3. So, 51 translates to 33 in hex. Takže, 51 až 33 sa premieta v 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. Ak sa vám celá a zvyšky, ktoré sa premietajú do z 10 alebo 15, potom prekladať dva-čísla do jedinej písmeno (to je miesto, kde všetci d'y f a to prísť), kde 10 = A, B = 11, 12 = C, 13 = D, E = 14, a 15 = F. This becomes relevant to our lovely sea green when we calculate the hexadecimal equivalent of its Green value, which is 219. To sa stáva relevantné pre našu milú mori zelene, keď sme sa vypočíta šestnástkový ekvivalent Zelenej hodnotu, ktorá je 219. When we divide it by 16, we get 13.69. Keď sme sa deliť o 16, dostaneme 13.69. We translate 13 to D, and then multiply the remainder – 0.69 – by 16, and get 11, which equals B. Prekladáme 13 až D, a potom vynásobí zvyšok - 0,69 - do 16, a získajte 11, čo sa rovná B.
Repeat this formula for the Blue value, and then string them together (you should get 33DB99). Opakujte tento vzorec pre Blue hodnotu, a potom im spoločne reťazec (mali by ste dostať 33DB99). 33DB99 is the RGB Hexadecimal value for the colour which can be used in the html web page. 33DB99 je Šestnástková RGB hodnoty pre farby, ktoré možno použiť v html stránke.
IMPORTANT : The page is machine translated and provided "as is" without warranty. Upozornenie: Stránka je stroje preložené a poskytované "tak ako sú" bez záruky. Machine translation may be difficult to understand. Strojový preklad môže byť ťažké pochopiť. Please refer to Obráťte sa prosím na original English article Anglický originál článku whenever possible. kedykoľvek je to možné.
Related Articles Súvisiace články
- Oracle PL/SQL ORA-00947 Not Enough Values Error Oracle PL / SQL ORA-00947 Nie Dostatočný Hodnoty Chyba
- Get the Color Code with Instant Eyedropper Získajte kód farby s Instant Eyedropper
- Verbatim's New Color Nano Wireless Notebook Mouse with 2.4GHz Receiver Verbatim Nové Farba Nano Mouse Wireless Notebook s 2.4GHz Prijímač
- Sony Carnival Color Collection PSP-3000 Sony Carnival Farebná kolekcia PSP-3000
- HTML Color Names HEX Codes Chart Table Farebný Mená HEX HTML kód Graf Tabuľka
- Change the Skin Color for Yahoo Messenger 9 Zmeňte farbu pleti pre Yahoo Messenger 9
- eyePilot to help Color-Blind People eyePilot pomoci Color-nevidiacim
- How to Change the CSS Style, Font, Spacing, Alignment and Color of WordPress Image Captions Ako na zmenu CSS štýlov, písma, medzery, zarovnávanie a farbu WordPress Image popisky
- JVC 42″ Xiview LT-42WX70 HDTV With Wider Color Space For D-SLR Fans JVC 42 "Xiview LT-42WX70 HDTV sa širší farebný priestor pre D-SLR Fans
- Separate Color In Digital Images With tintii Oddelené farby Digitálny obraz s tintii










































March 31st, 2009 15:38 31. marca 2009 15:38
Yeah…so long i want to get this formula.Thank you so much. Jo ... tak dlho, chcem si to formula.Thank moc.
January 17th, 2009 04:03 17. januára 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 - určuje farbu reklamné hranicu, reklama pozadie, titulok každej reklamy, reklamný text vnútri reklamný blok, a URL v dolnej časti každého inzerátu. Up to 4 separate values (differentiated by commas) can be supplied for automatic color rotation when the ad is served by the Google server. Do 4 samostatných hodnôt (diferencované čiarkami) môžu byť dodané pre automatické striedanie farieb, keď je reklama doručená na serveri Google. The image ads does not affect by these values. Grafické reklamy sa netýka týchto hodnôt. Note that the color value should be converted in hexadecimal format. Upozorňujeme, že farebné hodnoty by mali byť premenené v hexadecimálním formáte. [...] [...]
January 7th, 2009 04:37 7. januára 2009 04:37
THANK YOU SOOO MUCH!!!! DĚKUJI SOOO much!! I lost a hex value for a color that I needed desperately! Stratila som hexadecimálny hodnotu pre farbu, že som potreboval zúfalo! I almost paniced! I takmer paniced! But when I found this site, it worked perfectly! Ale keď som našla tieto stránky, to fungovalo perfektne! Thanks to whoever made this site!!! Vďaka každému, kto sa tohto webu!
September 5th, 2008 23:29 5. septembra 2008 23:29
Thank you sir, this is exactly what I was looking for. Děkuji pane, tohle je presne to, čo som hľadal. Plus, you are the top result on google when searching “how to translate rgb into hex” Plus, ste na najlepší výsledok pri vyhľadávaní na Google ", ako sa premietajú do rgb hex"
December 5th, 2006 18:33 5. decembra 2006 18:33
Hi sorry anon, the keywords are based on what users search, and is not controllable. Ahoj promiň anon, kľúčové slová sú založené na tom, čo používatelia hľadajú, a nie je ovládateľný.
December 5th, 2006 18:07 5. decembra 2006 18:07
It's damn misleading to stuff the word “pantone” into you keywords when you don't talk about it at all. Je to zatraceně zavádzajúce veci slovo "pantone" do vás kľúčové slová, keď nie je o tom hovoriť vôbec.
April 11th, 2006 11:59 11. apríla 2006 11:59
What a fantastic page. Aké fantastické stránky. The web is full of ready-made converter tools, but I love to know HOW things are done. Tento web je plný ready-predložené prevodník náradie, ale som rád, ako to urobiť. Your page on RGB to Hex conversion is well written and straightforward. Vaše stránky na RGB Hex pre konverziu je aj písomná a priamočiare.
What a bonus to DIY webmasters such as myself. Čo bonus k DIY webmasters ako já. Many thanks. Děkuji.