karenying / gradient.png

Custom gradient image generator

Home Page:https://gradient-png.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gradient.png

gradient.png is a custom image generation web app.

Netlify Status

Screenshot

Customizable features:

  • 2 - 5 colors and their respective percentages
  • Image height and width (in pixels)
  • Linear or radial gradient
  • Linear gradient degrees or radial gradient center

Download the image (for wallpapers) or copy the CSS (for divs)!

Installation

  1. Clone this repo
  2. npm install
  3. npm start

Motivation

Many background customization features require uploading an image -- social media profile covers/banners, Gmail theme, your phone/laptop wallpaper. Gradients are a great option for such instances. They're pretty, yet subdued and not distracting.

CSS Gradient exists as a customizable gradient background generator for websites. Specifically, they generate the CSS that can be supplied for a div's background property. However, this site does not have the option to export the generated gradient as an image. I decided to take this opportunity as a UI/UX redesign challenge, in addition to adding the image exportation feature.

The goal was to hone in my React skills, getting into the habit of good web dev practices, as well as generate an intuitive and responsive user interface and experience.

Dependencies

gradient.png uses the following npm packages:

Acknowledgments

About

Custom gradient image generator

https://gradient-png.netlify.app/

License:MIT License


Languages

Language:JavaScript 81.0%Language:CSS 16.4%Language:HTML 2.6%