What is your name in color?

in #python6 years ago (edited)

Using the magic of computers we can turn your name into a series of colours!

There's a lot of data in a string, bet you didn't even realize your name has it's very own, unique colour?

To get a colour from your name, we have to convert each digit to binary, and from binary to hexadecimal, here's a chart below to make things easier:

CharacterBinaryHex
A0100 000141
B0100 001042
C0100 001143
D0100 010044
E0100 010145
F0100 011046
G0100 011147
H0100 100048
I0100 100149
J0100 10104A
K0100 10114B
L0100 11004C
M0100 11014D
N0100 11104E
O0100 11114F
P0101 000051
Q0101 000152
R0101 001053
S0101 001154
T0101 010056
U0101 010157
V0101 011058
W0101 011159
X0101 10005A
Y0101 10015B
Z0101 10105C
a0110 000161
b0110 001062
c0110 001163
d0110 010064
e0110 010165
f0110 011066
g0110 011167
h0110 100068
i0110 100169
j0110 10106A
k0110 10116B
l0110 11006C
m0110 11016D
n0110 11106E
o0110 11116F
p0111 000070
q0111 000171
r0111 001072
s0111 001173
t0111 010074
u0111 010175
v0111 011076
w0111 011177
x0111 100078
y0111 100179
z0111 10107a
[SPACE]0010 000020
-0010 11012D

I'm gonna use my username Sisygoboom

  • Use capitals, spaces and hyphens to make the colours more varied.

You should end up with something like this:
54697379676F626F6F6D

  • Split the string after every 6 characters and add a hash in front of the new block, and fill in the last block with whatever you want, (I've used 00s):

#546973 #79676F #626F6F #6D0000

  • Search google for the hex colour:


If you're more technically inclined...

I've written a python script which can do all the hard work for you!

Sort:  

Hi, @sisygoboom!

You just got a 0.22% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.

Coin Marketplace

STEEM 0.23
TRX 0.26
JST 0.040
BTC 97958.64
ETH 3474.00
USDT 1.00
SBD 3.26