
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
A revamped version of venaxyt's fade project with more features and improved stability. Fade2 allows you to add beautiful color gradients to your terminal text. 🌈
blackwhite
purplepink
greenblue
pinkred
purpleblue
water
fire
brazil
random
linear_blackwhite
linear_purplepink
linear_fire
linear_custom
vertical_purplepink
You can install Fade2 using pip:
pip install fade2
Here is an example of how to use Fade2 in your Python code:
from fade2 import purplepink
text = "Hello, World!"
colored_text = purplepink(text)
print(colored_text)
apply_color(text, color_func)
Applies a color function to the given text.
blackwhite(text)
Applies a black and white gradient to the text.
purplepink(text)
Applies a purple to pink gradient to the text.
greenblue(text)
Applies a green to blue gradient to the text.
pinkred(text)
Applies a pink to red gradient to the text.
purpleblue(text)
Applies a purple to blue gradient to the text.
water(text)
Applies a water-like gradient to the text.
fire(text)
Applies a fire-like gradient to the text.
brazil(text)
Applies a Brazil flag color gradient to the text.
random(text)
Applies a random color gradient to the text.
linear_blackwhite(text)
Applies a linear black to white gradient to the text.
linear_purplepink(text)
Applies a linear purple to pink gradient to the text.
linear_fire(text)
Applies a linear fire gradient to the text.
linear_custom(starthex, endhex, text)
Applies a custom linear gradient to the text using the provided start and end hex colors.
vertical_purplepink(text)
Applies a vertical purple to pink gradient to the text.
This project is licensed under the MIT License. See the LICENSE file for details.
Created by Qrexxed.
Enjoy using Fade2! 🎉
FAQs
A sequence to venaxyt's fade project, with more features.
We found that fade2 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.