Introduction

I recently began working with the Wolfram Language and, in an effort to apply my what I’d learned, I decided to use the language to try and create a logo for my social media platforms. For some context, I run a TikTok account under the handle BlueHandCoding where I showcase projects which I’ve programmed and built. Recently, I needed to remake my logo (a blue handprint) because the one I was using at the time was a slightly modified version of something ripped from the internet, making me hesitant to use it for merchandise.

Solution

Setup

With this, I decided to make my own logo. Thankfully, a handprint is pretty easy to recreate. I found some black paint, rubbed it over my left hand, and slapped it onto a piece of thick paper. I repeated this process until I found a handprint which was “aesthetic” and scanned it into a JPEG. The following image is the handprint I decided to go with, although blurred for the sake of my fingerprints.​
​

Wolfram Language

With an image I could work with, all I had to do now was work to change the color of the hand from black to blue. Usually for something like this, I’d be fiddling around with some online color swap tool but, I found that WL would provide greater flexibility.
In[]:=
testImage=ImageResize[Import["/Users/varun/Desktop/testImage.jpeg"],500]
Out[]=
All it took was a Manipulate to explore the hue of blue which I wanted to achieve from the handprint.
In[]:=
Manipulate[​​ ImageRecolor[​​ testImage,​​ ColorsNear[Black,distance]->RGBColor[r,g,b]​​ ],​​ ​​ {distance,0,1,0.01},​​ {r,0,1},​​ {g,0,1},​​ {b,0,1},SaveDefinitions->True​​]
Out[]=
​
distance
r
g
b
Through this process, I found that the settings which would give me a nice, rich:
In[]:=
ImageRecolor[​​ testImage,​​ ColorsNear[Black,0.65`]->RGBColor[0.`,0.682`,1.`]​​ ]
Out[]=

Conclusion

While this certainly wasn’t anything complicated, I still found it fun to be able to quickly assemble a tool that was catered to my needs so easily. The output of the program is now my official logo across all of my platforms and I was able to also slap it onto some merchandise as well.