Share your repls and programming experiences

← Back to all posts
InitColor
CodingEssence

InitColor

A color initializer for your python program!

So this is an efficient IMO.

It has multiple features, as listed below

FeatureDescription
RGBChoose your own color using RGB codes
BoldMakes the text darker
DimMakes the text lighter
ItalicMakes the text slanted
UnderlineMakes the text output with an underline
Swap Foreground and BackgroundMakes the text and background switch colors
HiddenMakes the text invisible
ResetResets all attributes
Reset AllResets everything

Syntax:

It's simple. Simply this:

If at anytime, you find a bug/error in the program, please let me know and I will fix it as soon as possible

So, I guess that is the whole program, and I hope you find this useful!

Please upvote and I'll so you in my next post. Bye!

Voters
VihaanM1
VulcanWM
ALIENXDLOLOl
CodingEssence
Comments
hotnewtop
MrVoo

Looks useful! Can it be used more than once?

CodingEssence

@MrVoo 100%
Just call the function, and it will work

VulcanWM

Nice!

CodingEssence

@VulcanWM thanks!

VulcanWM