HTML Color Codes and Converting RGB to Hexadecimal Codes de couleur HTML et la conversion de RGB en hexadécimal

Advertisements Annonces

When I Quand je redesigned redessiné my blog, I wanted my mon blog, je voulais que mes Adsense unit to merge properly with the background of the theme. unité de fusionner correctement avec le fond du thème. My earlier theme had white background, so it was never a problem to integrate the ads. Mon plus tôt thème a fond blanc, donc il n'a jamais été un problème pour intégrer les annonces. The sidebar of my new theme has a unique color and I wanted the background of my Adsense unit to have the same color. La barre latérale de mon nouveau thème a une couleur unique et je voulais que le fond de mon unité à Adsense ont la même couleur. Adsense setup has only a small collection of colors (although we can manually enter the colors). Configuration AdSense ne dispose que d'une petite collection de couleurs (même si nous pouvons entrer manuellement les couleurs). I didn’t have Photoshop or a GIMP installed in my system (office computer from where I blog). Je n'avais pas de Photoshop ou d'un GIMP installé dans mon système (ordinateur de bureau où je blog). Now the question is how to get the correct color code when you don’t have any picture editors? Maintenant, la question est de savoir comment obtenir le bon code de couleur lorsque vous n'avez pas de photo éditeurs?

This is pretty simple! C'est très simple! I took screen shot of my blog and pasted in paint. J'ai pris copie d'écran de mon blog et collé dans la peinture. Using the color picker, I selected the color of my sidebar. À l'aide du sélecteur de couleur, j'ai choisi la couleur de ma barre latérale. Now paint displays color in RGB format and I wanted it in hexadecimal format. Affiche maintenant la peinture couleur au format RGB et je voulais en format hexadécimal. My color was RGB (216, 217, 198). Ma couleur est RGB (216, 217, 198). HTML colors codes are made up of 3 sets of hex numbers, one for Red, one for Green, and one for Blue and to get the color code in hexadecimal format is very simple. HTML codes couleurs sont composées de 3 séries de nombres hexadécimaux, l'une pour le rouge, un pour Green, et une pour les Bleu et pour obtenir le code couleur au format hexadécimal est très simple.

Here the calculator that comes with Windows is handy, to convert between Decimal and Hex values. Ici, la calculatrice fournie avec Windows est à portée de main, pour convertir entre les décimales et les valeurs hexa. Open the calculator and select View and then Scientific. Ouvrez la calculatrice et sélectionnez Affichage, puis scientifique. Once you do this, you’ll see more buttons and controls on the calculator. Une fois que vous faites cela, vous verrez plusieurs boutons et des contrôles sur la calculatrice. Click “Dec” and the key in a number (the number that is specific to red). Cliquez sur "Déc" et la clé dans un certain nombre (le nombre qui est spécifique à rouge). Now click “Hex” and it’ll convert the number to hex. Maintenant, cliquez sur "Hex" et ça va convertir le nombre en hexadécimal. To convert from Hex to Dec, click on “Hex”, key in the number, and then click “Dec”. Pour convertir de Hex à décembre, cliquez sur "Hex", clé dans le nombre, puis cliquez sur "Déc." Sometimes you’ll get a color specification in Decimal, for example (128, 30, 80) and you can use this method to convert it to hex (80, 1E, 50) which would look like this for your HTML color #801E50. Parfois, vous aurez une spécification de couleur en décimal, par exemple (128, 30, 80) et vous pouvez utiliser cette méthode pour le convertir en hexadécimal (80, 1E, 50), qui se présente comme suit pour votre couleur HTML # 801E50. ( Imp: Don’t key in all the three numbers and convert to hexadecimal, this would give a different combination) The decimal part for a color varies from 0-255 and we can have different combinations by varying this RGB combination. (Imp: Ne touche pas à tous les trois chiffres et le convertir en hexadécimal, ce qui donne une combinaison différente) la partie décimale d'une couleur varie de 0-255 et nous pouvons avoir différentes combinaisons en faisant varier cette combinaison RGB.

Here are some of the common colors and their decimal and hexadecimal codes. Voici quelques-unes des communes et de leurs couleurs décimal et hexadécimal codes.

000000 is black (0’s for all three colors) 000000 est noir (de 0 pour les trois couleurs)
FFFFFF is white (255’s for all three colors) FFFFFF est blanc (255 pour l'ensemble des trois couleurs)
FF0000 is all RED (255 for Red, 0 green, 0 blue) FF0000 est rouge (255 pour Red, 0 vert, 0 bleu)
00FF00 is all GREEN (0 Red, 255 green, 0 blue) 00FF00 est VERT (0 rouge, 255 vert, 0 bleu)
0000FF is all Blue (0 red, 0 green, 255 blue) 0000FF est tout bleu (0 rouge, 0 vert, 255 bleu)
FFFF00 is Yellow (255 red, 255 green, and 0 blue) FFFF00 est jaune (255 rouge, 255 vert, bleu et 0)
808080 is a gray (128 red, 128 green, and 125 blue) 808080 est un gris (128 rouge, 128 vert, bleu et 125)

Next time when you face this issue, try our this method. La prochaine fois que vous faites face à ce problème, essayez notre cette méthode. There is a small software (62 kb), Il est un petit logiciel (62 ko), Pixie , which will tell you the Hex, RGB, HTML, CMYK and HSV values of any color. , Qui va vous donner le Hex, RGB, HTML, CMYK et HSV valeurs de n'importe quelle couleur.

Technorati tags: Technorati tags: , ,

Share this Post Share This Post

StumbleUpon-4848.pngdigg-4848.pngtechnorati-4848.pngflux-4848.pngdelicious-4848.png

Comments Commentaires

  • Rishi Rishi said: a déclaré:

    Hey thanks! Hey merci! I was searching a reference for this from a long time. Je recherche a été une référence pour ce depuis un certain temps. :)

  • Silki Silki said: a déclaré:

    Hi Nirmal, Nirmal Salut,
    I think there is a very simple tool called “Color Cop” available exactly for the same purpose. Je pense qu'il y est un outil très simple, appelé "Color Cop" disponible exactement dans le même but. You can download it at Vous pouvez le télécharger à http://www.colorcop.net . It will not take more than 5 seconds (yes 5 seconds) to determine the hex colour code of any pixel on your screen. Il ne prendra pas plus de 5 secondes (oui 5 secondes) afin de déterminer le code hexadécimal de la couleur tout pixel sur votre écran. The use is extremely easy. L'emploi est extrêmement facile.
    I am a total new entrant to the blogosphere and had just shot off my blog webtools-desinet1.blogspot.com. Je suis un nouvel arrivant total de la blogosphère et vient de coup de mon blog-desinet1.blogspot.com technique Outils Web. I have not even finished its template part. Je n'ai même pas terminé son modèle de partie.
    I would love to hear from you. J'aimerais avoir de vos nouvelles.

  • nirmaltv nirmaltv said: a déclaré:

    @Rishi, @ Rishi,
    Thanks for your feedback, hope it was useful for you. Merci de vos commentaires, espérons qu'il a été utile pour vous.

    @Silki, @ Silki,
    Thanks for letting me know about the software. Merci de me le faire savoir sur le logiciel. I have also mentioned about another software Pixie, which can convert to all formats. J'ai également mentionné sur un autre logiciel Pixie, qui peut convertir tous les formats.


Add a comment Ajouter un commentaire

Translate Page Traduire la page

Translate to EnglishÜbersetzen Sie zum Deutsch/GermanПереведите к русскому/RussianΜεταφράστε στα ελληνικά/GreekVertaal aan het Nederlands/Dutchترجمة الى العربية/Arabic中文翻译/Chinese Traditional
中文翻译/Chinese Simplified한국어에게 번역하십시오/Korean日本語に翻訳しなさい /JapaneseTraduza ao Português/PortugueseTraduca ad Italiano/ItalianTraduisez au Français/FrenchTraduzca al Español/Spanish
Nirmal is a Software Engineer and Technology Blogger. Nirmal est une Software Engineer et de la technologie Blogger. He is a Microsoft Most Valuable Professional in Windows Desktop Experience. Il est un Microsoft Most Valuable Professional Windows Desktop Experience.
MVPInde technologie bloggers