Colours are laborious, particularly in the event you don’t have a watch for design.
Most of us tech professionals don’t. The upside is that Python can do many of the heavy lifting for you. It could generate a complete monochromatic shade palette that’ll look beautiful on any stacked chart.
The draw back is that getting there requires a good bit of coding. You must write customized features to transform a shade from HEX to HSL and vice versa, and determine if the beginning shade is just too vivid, in addition to how a lot lighter every subsequent shade ought to be.
Including insult to harm, I haven’t discovered a single totally working Python library able to carrying out this process.
That’s the place this text chimes in.
For those who’re a subscriber to my Substack, you possibly can skip the studying and obtain the pocket book as a substitute.
Let’s rapidly cowl three shade codecs it’s essential know:
- HEX — A six-digit code usually utilized in net growth and graphic design. The colour code begins with a
#
, adopted by six hexadecimal digits. Pairs…