Skip to content

A simple python script that generate a color gradient

License

Notifications You must be signed in to change notification settings

HYOUG/color-gradient-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gradient Generator

MIT License
A simple python script that generate a color gradient

💾 Installation

git clone https://github.com/HYOUG/GradientGenerator.git

or, Code button > Download ZIP

⚙️ Usage

python gradientgen.py X_size Y_size R_start G_start B_start R_end G_end B_end

📌 Examples

python gradientgen.py 1920 1080 255 0 0 255 255 0
  • Size             : 1920 x 1080 (HD 1080)
  • RGB (start)   : 255 0 0 (red color)
  • RGB (end)    : 255 255 0 (yellow color)
    A generated color gradient

📜 License

MIT (2021) License protected project.

About

A simple python script that generate a color gradient

Topics

Resources

License

Stars

Watchers

Forks

Languages