Translate and Convert RGB Color Values into Hexadecimal Hex Equivalent Переклад і конвертувати RGB значення кольору в шістнадцятковий шістнадцятковий еквівалент
In a html web page, there is code such as <body bgcolor=#ffffff> or color=”#000000″ . У HTML веб-сторінки, є код, такий як <body bgcolor=#ffffff> або COLOR = "# 000000". The “ffffff” is the colour RGB hexadecimal value which will translate into a white, and “000000″ is black. "FFFFFF" це колір RGB шістнадцяткові значення, який буде переводити в білий, і "000000" чорний.
The RGB colour code must be converted into hexadecimal (Base-16) number in order for the browsers to understand them. RGB код кольору повинні бути перетворені в шістнадцятковому (Base-16) кількість для того, щоб браузер розуміти їх. Then the resulting two-digit hexadecimal (”hex” for short) numbers are strung together into a single six-digit code. Тоді в результаті двох шістнадцятиричних цифр ( "Hex" для стислості) номерами нанизаних на одну шестизначний код. 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. Таким чином, у прикладі вище, перші два "F" і з "0" стояти на червоний значення, в найближчі два стенди для зеленого, а останні два для синього кольору.
It's possible to get the RGB hex value from a colour chart. Можна отримати значення RGB Hex з колірною шкалою. But if you encounter a favorite colour, it's possible to get its RGB value and convert it into hex code. Але якщо ви зустрічаєтеся з улюбленим кольором, можна отримати свої RGB значення і перетворити його в шістнадцятковий код.
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. Щоб отримати значення RGB за кольором від фотографії, просто відкрити фотографію або картинку в Microsoft Paint або будь-якого програмного забезпечення обробки зображень. Use the pick color tools to pick the colour and the RGB value should be shown. Використовуйте інструменти Вибір кольору вибрати колір і значення RGB має бути показано на малюнку. For Microsoft Paint, after you pick the colour, click on Colors menu, and then Edit Colors. Для Microsoft Paint, після вибрати колір, клацніть на меню кольору, а потім відредагувати кольору. On the window shown, click on Define Custom Colors, and you will see the RGB value of the color you just selected shown there. У вікні показано, натисніть Визначити кольору, і ви побачите значення RGB кольору обраний вами показали там.
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. Для перекладу / перехід до розрахунку Hex, ми будемо використовувати кольори Lovely зеленого моря з RGB значень R = 51, G = 219, В = 153 є прикладом.
To translate the RGB value into hexadecimal value, first take the value of Red (51) and divide it by 16. Щоб перевести значення RGB в шістнадцяткові значення, спочатку приймати значення червоного (51) і ділимо його на 16. The balance is 3.1875. Баланс 3,1875. The integer, 3, will be the first number in the hexadecimal formula. Ціле число, 3, буде першим номером у шістнадцятковій формулою. The remainder (0.1875) should be multiplied by 16, which also results in the number 3. Решта (0,1875) повинні бути помножені на 16, що також призводить до числа 3. So, 51 translates to 33 in hex. Так, 51 переводиться до 33 в шістнадцятковому вигляді.
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. Якщо ви отримуєте цілі і залишки, які переводять на 10 або 15, то переклад двозначні числа в одному листі (це де всі d'S і F прийти в), де 10 = A, B = 11, 12 = C, 13 = D, E = 14, і 15 = F. This becomes relevant to our lovely sea green when we calculate the hexadecimal equivalent of its Green value, which is 219. Це стає актуальним для нашого улюбленого зеленого моря, коли ми обчислимо шістнадцятковий еквівалент своєї "Зеленої вартість, яка є 219. When we divide it by 16, we get 13.69. Коли ми ділимо його на 16, отримуємо 13,69. We translate 13 to D, and then multiply the remainder – 0.69 – by 16, and get 11, which equals B. Ми переводимо 13-Д, а потім помножити залишок - 0,69 - по 16, і отримаєте 11, що складає B.
Repeat this formula for the Blue value, and then string them together (you should get 33DB99). Повторіть цю формулу значення синього кольору, а потім строку їх разом (Ви повинні отримати 33DB99). 33DB99 is the RGB Hexadecimal value for the colour which can be used in the html web page. 33DB99 це значення Шістнадцятковий RGB для кольору, які можуть бути використані в HTML веб-сторінки.
IMPORTANT : The page is machine translated and provided "as is" without warranty. ВАЖЛИВО: Сторінка машина переведена і надаються "як є" без гарантії. Machine translation may be difficult to understand. Машинний переклад може бути важким для розуміння. Please refer to Будь ласка, зверніться до original English article оригінальний англійська статтю whenever possible. коли це можливо.
Related Articles Статті за Темі
- Get the Color Code with Instant Eyedropper Отримати код кольору з Instant Піпетка
- Translate Movie Subtitles with Subtitle Translation Applications Перекласти фільм субтитри із застосуванням субтитрів перекладів
- Client for Google Translate Simplifies Text Translation and Access to Wikipedia in Webpages and Applications Клієнт для Google Translate Спрощує тексту перекладу і доступ до Вікіпедії в веб-сторінки і додатки
- Oracle PL/SQL ORA-00947 Not Enough Values Error Oracle PL / SQL ORA-00947 Not Enough помилок
- Verbatim's New Color Nano Wireless Notebook Mouse with 2.4GHz Receiver Стенографический Нові кольори Nano Бездротова миша для ноутбука з 2.4GHz приймача
- Sony Carnival Color Collection PSP-3000 Sony карнавал кольори колекції PSP-3000
- Change the Skin Color for Yahoo Messenger 9 Зміна кольору шкіри для Yahoo Messenger 9
- HTML Color Names HEX Codes Chart Table HTML Color Names шіснадцяткові коди штурманський стіл
- How to Remove or Delete a Registry Key, Subkey and Values with .reg Registration Entries File Як видалити або видалити розділ реєстру, підрозділу та цінності с. Р-файлу записів реєстрації
- eyePilot to help Color-Blind People eyePilot допомогти дальтонік люди










































November 8th, 2009 19:43 8 листопада 2009 19:43
4655434B 4655434B
March 31st, 2009 15:38 31 березня 2009 15:38
Yeah…so long i want to get this formula.Thank you so much. Да ... поки я хочу отримати цю formula.Thank вас так багато.
January 17th, 2009 04:03 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 - визначає колір оголошення кордону, фону оголошення, оголошення назви кожного з оголошень, текст реклами всередині рекламний блок, а також URL в нижній частині кожного оголошення. Up to 4 separate values (differentiated by commas) can be supplied for automatic color rotation when the ad is served by the Google server. До 4 окремі значення (диференційовані комами) можуть бути поставлені на автоматичне обертання кольору, коли оголошення з сервером Google. The image ads does not affect by these values. Графічні об'яви не зачіпає ці цінності. Note that the color value should be converted in hexadecimal format. Зауважимо, що значення кольору має бути перетворено в шістнадцятковому форматі. [...] [...]
January 7th, 2009 04:37 7 січня 2009 04:37
THANK YOU SOOO MUCH!!!! СПАСИБО СТОВ MUCH!! I lost a hex value for a color that I needed desperately! Я втратила Hex значення для кольору, що мені потрібно відчайдушно! I almost paniced! Я майже paniced! But when I found this site, it worked perfectly! Але коли я знайшов цей сайт, це спрацювало! Thanks to whoever made this site!!! Завдяки тому, хто зробив цей сайт!
September 5th, 2008 23:29 5 вересня 2008 23:29
Thank you sir, this is exactly what I was looking for. Спасибі, сер, це саме те, що я шукав. Plus, you are the top result on google when searching “how to translate rgb into hex” Плюс, ви Кращий результат на Google при пошуку "Як перевести RGB в Hex"
December 5th, 2006 18:33 5 грудня 2006 18:33
Hi sorry anon, the keywords are based on what users search, and is not controllable. Привіт Вибачте Anon, ключові слова, засновані на тому, що користувачам пошукової системи, а не керованими.
December 5th, 2006 18:07 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. Це скажено неправильні речі слово "Pantone" Into You ключові слова, коли ви не кажете про це на всіх.
April 11th, 2006 11:59 11 квітня 2006 11:59
What a fantastic page. Яке фантастичне сторінці. The web is full of ready-made converter tools, but I love to know HOW things are done. Мережа сповнена готових інструментів конвертера, але я люблю знати, робляться, як усі. Your page on RGB to Hex conversion is well written and straightforward. Ваша сторінка на RGB для перетворення шістнадцятирічного добре написана і проста.
What a bonus to DIY webmasters such as myself. Який бонус до DIY вебмайстрів таких як я. Many thanks. Большое спасибо.