Tags » Hex

Color

I just wanted to post two of my favorite resources that I use a lot to find colors for my websites. 41 more words

Resources

Bytes in Python 3.5

I’m working with os.urandom and I was puzzled by this output:

>>> x = os.urandom(16)
>>> print(x)
b'cCIp>\xfebUe\x02c\xc9\xbf5P\xe2'
>>> type(x)
bytes
>>> len(x)
16
>>> x[5]
254
>>> x.hex()
'634349703efe6255650263c9bf3550e2'
>>> x[0]      # ASCII code for 'c' is 99 (decimal)
99
>>> hex(x[0]) # ASCII code for 'c' is 63 (hexadecimal)
'0x63'
>>> hex(x[5])
'0xfe' 54 more words
Programming

Supernatural Season 10 Episode 22

Supernatural Season 10 Episode 22 The Prisoner

Dean and Sam incinerate Charlie in wood, Dean tells Sam to stop doing about the book. He will find who did this. 301 more words

Series

HEX & Stance Collab For Limited Edition Sneaker Travel Bags

Stance and HEX team up to support the functional needs of the modern sneaker enthusiast. 204 more words

Lifestyle

Covert HEX Code to RGB Values

Now and again you will need to find the RGB value of a HEX Code. This is a cool little function that will make this so easy for you. 69 more words

Snippets