+ 1

Can u explain hexadecimal values to me?

4th Sep 2017, 3:20 PM
sheikhrafe
2 Respostas
+ 4
https://www.w3schools.com/colors/colors_hexadecimal.asp A hexadecimal color is specified with: #RRGGBB. RR (red), GG (green) and BB (blue) are hexadecimal integers between 00 and FF specifying the intensity of the color. For example, #0000FF is displayed as blue, because the blue component is set to its highest value (FF) and the others are set to 00.
4th Sep 2017, 3:24 PM
Calviղ
Calviղ - avatar
0
Just in case you want an explanation of the hexadecimal number system, the simplest explanation is in comparison to the decimal system. similar to how the decimal system has ten digits(0-9), the hexadecimal system has 16 digits. we use 0-9 for the first 10 digits and since we need 6 more we add the digits a-f. if you need a number bigger than #f (=15) you add another digit and start over at #10 (=16). Using two digits the biggest number possible is #ff (=255). Even though it is difficult to convert a hex to a decimal without doing some math, it's not very difficult to compare two hex numbers together. For example, #4d< #ea because the first digit #4 is less than #e. So when using hex numbers to define rgb colors you should be able to tell what the dominant colors are in a given combination.
10th Oct 2017, 4:31 AM
Justin Christensen
Justin Christensen - avatar