Questions tagged as 'hexadecimal'

7
answers

Hexadecimal for RGB

How do you convert a Hexadecimal color ( #FFFFFF ) to RGB ( R ed, G reen, B p> Example     
asked by 13.11.2015 / 18:07
4
answers

What does "0x" mean in hexadecimal numbers?

I have noticed that when it comes to hexadecimal numbers, sometimes a "0x" is placed in the front. Example:    0xA1B2C3 instead of    A1B2C3 What does this "0x" mean?     
asked by 10.07.2014 / 17:49
3
answers

What happens to the 3-digit hexadecimal colors?

I've always been curious to know what happens in a 3-digit hexadecimal expression of a color in CSS. For example, you have 000 and 000000 , which is black. E fff or ffffff that is white. There are also other colors...
asked by 13.02.2017 / 13:29
3
answers

What are Decimal, Hexadecimal and Octal notation numbers?

What are Decimal (base 10), Hexadecimal (base 16), and Octal (base 8) notation numbers? In the book the code looks like this: <?php // numero decimal $a = 1234; // numero octal (equivalente a 83 em decimal) $a = 0123;...
asked by 22.01.2015 / 13:53
2
answers

Convert string Base16 (Hexadecimal) to Base10 (Decimal)

I have the following string "615769EF" , which is in hex. How to convert it to base10 and that the result is the string "01633118703" ?     
asked by 16.06.2015 / 15:07
2
answers

How to convert negative numbers from decimal to hexadecimal

I was able to pass an integer number to hexadecimal. The problem now being tested was that the negative numbers do not work with this formula. Here is the code I have: public class PPROG_pl6_ex8 { public static Scanner input = new Scan...
asked by 27.10.2017 / 14:08
1
answer

Help with RGB color in 16bit Hexadecimal

So, I'm creating an editor for a PS2 football game in C #. And the "color system" of the game is RGB, and so far everything was going very well, because I was encountering with "normal" Hex codes in the game how to choose the color R: 255 G: 255...
asked by 03.04.2017 / 21:20
1
answer

PHP \ xf0 represents 0xF0?

If \xF0 represents a hex as well as 0xF0 , why are their output different? echo "\xF0"; echo 0xF0; I actually do not find any information about this \xF0 notation in the PHP manual.     
asked by 26.10.2018 / 20:06
1
answer

Java, convert floating-point Hexadecimal value

I'm developing an application that receives data from a GPS card, data is received by bluetooth in hexadecimal, latitude and longitude values are 64-bit floating points, which follows the IEEE 754 standard. I can already capture the hexadecim...
asked by 03.02.2017 / 17:54
3
answers

How to find the negative of a color in hexadecimal?

I would like to know what calculation I can use in language like javascript , php or python to find the negative of a cor hexadecimal. Example: If white negative is black, then I assume: '#FFFFFF => #000000'...
asked by 11.12.2015 / 14:34