Tag Archives: gradient

6 Free Beautiful Color Gradients For Your Next Design Project

6-Free-Beautiful-Color-Gradients-For-Your-Next-Design-Project

Color is the most powerful design tool. It can evoke a mood, convey a message, or set a tone. Color is used to make people feel things and it’s important to understand how this works in order to use it effectively in your designs.

Gradient colors are a simple way to add depth and dimension to a design. They can be used as backgrounds, for borders, or to highlight important text.

You can use gradient colors in any kind of design: web design, print design, logo and branding design, illustration or photography. Here are some gradient color generate tools that you can use for your next project.

1. Color Hunt

Color Hunt is an open collection of beautiful color palettes, created by Gal Shir. It has various beautiful color combinations. The collection is open, and anyone can create and submit their own color combination. It provides you a Chrome extension.

2. Gradient generator

This free web tool is created by Moe Amaya a product designer based in San Francisco  who creates resources for the design and development community. One of the best gradient color generator tool allows you to explore, try and choose from hundreds of beautiful blended color palettes. This is a free and open platform for color inspiration with thousands of trendy hand-made color gradients.

3. CSS-Gradient

CSS-gradient is a free css gradient generator tool, which helps you create a colorful gradient background for your website, blog, or social media profile. It displays smooth transitions between two or more specified colors. You can get CSS code for the color you generated on the website and directly use those code in your web programming applications.

4. Colorsinspo

This tool is all in one resource for finding everything about colors with extreme ease. Also, you will get Freebies, Inspirations, Color Tools, Gradients and thousands of trendy hand-picked color palettes.

5. Mycolor

With this tool, you can find the perfect matching color scheme for your next project! Generate nice color palettes, color gradients and much more! You do not have to waste hours on finding the perfect color palette again. You just need to enter a color and generate nice color palettes using this tool.

6. Colorable

You can choose a set color palette to produce contrast values for every possible combination with the help of Colorable. This is powerful tool for finding safe color combinations with predefined colors and includes pass/fail scores for the WCAG accessibility guidelines.

Thats all for now! Thanks for reading. If you have more tools, share more amazing websites.

How to Create a Gradient AppBar in Flutter

How to Create a Gradient AppBar in Flutter

The gradient color trend is extremely versatile.


Introduction

If you want to feel a different and modern look in your apps then the go for choice is gradient color. The blend of different shades of color, gradient creates a completely unique feelings to the modern designs. Companies such as ,Hulu, Spotify, Airbnb and Laracast often use gradient colors in their products.



This article will teach you how to add and customize these gradient designs into your Flutter app. There are plugins for this to achieve, however we want to implement same exact feature without using any third-party plugins.

So lets begin…


Step 1 — Setting Up the Project

To create a new flutter application simply run the following command. Please make sure to complete the Prerequisites for any flutter project if you are running this command for the first time.


flutter create flutter_gradient_example

Navigate to the project directory you just created:

cd flutter_gradient_example

Step 2 — Using LinearGradient

Open main.dart with your code editor and modify the boilerplate code provide by flutter team. We write most of the our code on this file. We are using simple statelessWidget since there is not state management that we need to take care of.


class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
        // Remove the debug banner
        debugShowCheckedModeBanner: false,
        title: 'Gradient AppBar',
        home: HomePage());
  }
}

In the code below, you will notice we have used Scaffold and AppBar widgets. With these two widgets we are able to create an AppBar on top of our app.

Now use flexibleSpace property, so we can use a Container widget for a gradient layout. There are various kind of gradient but in this case we will use linear gradient method. It is also possible to have additional colors but in this example we are using only red and orange color.


class HomePage extends StatelessWidget {
  const HomePage({Key? key}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      // implement the app bar
      appBar: AppBar(
        title: const Text('Gradient AppBar'),
        flexibleSpace: Container(
          decoration: const BoxDecoration(
            gradient: LinearGradient(
                begin: Alignment.centerLeft,
                end: Alignment.centerRight,
                colors: [Colors.red, Colors.orange]),
          ),
        ),
      ),
    );
  }
} 

Step 2 — Run the emulator

Compile your code and have it run in an emulator. You will see gradient AppBar on your app.



Thats it. Now you have achieved gradient AppBar in your flutter app. You can find full code in this Github repo.