Top "Hex" questions

Hexadecimal (also base 16, or hex) is the base-16 positional numeral system, using the 16 symbols 0–9 and A‒F.

How to get hex color value rather than RGB value?

Using the following jQuery will get the RGB value of an element's background color: $('#selector').css('backgroundColor'); Is there …

javascript jquery colors hex rgb
Javascript: Unicode string to hex

I'm trying to convert a unicode string to a hexadecimal representation in javascript. This is what I have: function convertFromHex(…

javascript unicode utf-8 hex
Ascii/Hex convert in bash

I'm now doing it this way: [root@~]# echo Aa|hexdump -v 0000000 6141 000a 0000003 [root@~]# echo -e "\x41\x41\x41\x41" AAAA …

bash ascii hex
Understanding colors on Android (six characters)

I am trying to understand how colors work in Android. I have this color set as the background of my …

android colors hex transparency
What's a good hex editor/viewer for the Mac?

What's a good hex editor/viewer for the Mac? I've used xxd for viewing hexdumps, and I think it can …

macos hex hex-editors
How to convert hex string to Java string?

For logging purpose we are converting the logs to byte array and then to hex string. I want to get …

java string hex
How to create python bytes object from long hex string?

I have a long sequence of hex digits in a string, such as 000000000000484240FA063DE5D0B744ADBED63A81FAEA390000…

python hex byte
Python 3.1.1 string to hex

I am trying to use str.encode() but I get >>> "hello".encode(hex) Traceback (most recent call …

python string python-3.x hex
How do I convert a single character into it's hex ascii value in python

I am interested in taking in a single character, c = 'c' # for example hex_val_string = char_to_hex_string(…

python hex ascii
Converting an integer to a hexadecimal string in Ruby

Is there a built in way to convert an integer in Ruby into its hexadecimal equivalent? Something like the opposite …

ruby hex base-conversion