My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Web design principles

Uzair Ali's photo
Uzair Ali
·Nov 29, 2021·

6 min read

When people visit your website, the first thing they feel is the design. Even if your website has great functionality, poor design can make those functionalities worthless. So in this blog, I will introduce a few web design principles and their history. I will also share some resources that can help you to design your website.

Let's get started

##1. Color Choosing a right color is very important and you can't just choose your favorite color. A colorful website does not mean using all the different colors, be consistent and choose a single color as your theme color. When picking colors think about the mood of your color palette.

The five moods of color

###- Red Red resembles Love, Energy and Intensity. It is the most powerful, strongest and brightest in the color wheel. Red theme is mostly used in e-commerce, entertainment and fashion websites. With great power comes great responsibility - using too much red creates a negative impression on your design. Also, red is not suitable for nature-related websites. Examples:

red themed websites

###- Yellow Yellow is for Joy, Intellect and Attention. You should be careful with yellow because using bright yellow as background can hurt user eyes especially when your website needs to be used for a long time. Yellow is great for headings, logos, buttons, etc. So to sum up, if your website is something that users need to spend more time then yellow is not the best choice.

Good examples of yellow themed websites: yellow themed websites

###- Green Green is about Freshness, Safety and Growth. That's why most grocery, nutrition, organic products companies use green color palette. That's how they convey the freshness of their products digitally. So if your website is food or nature related, then green is your choice.

Here are some examples: green themed websites

###- Blue Blue - Stability, Trust, and Serenity. Now you know why most of the financial companies, cryptocurrency companies websites are blue. Also some major social media sites like twitter, linkedin are blue themed because they make people feel safe, trust and positive using their platform. So use social media to spread positivity 😉.

Examples: blue themed websites

###- Purple Finally purple, purple shows Royalty, Wealth and Femininity. The words say it all. So the websites which are targeted at women will more likely use purple.

Examples: purple themed websites

Hence, depending upon what message you want to convey users through your website choose the right color. Of course you don't just use a single color throughout your website, so use these two tools to combine colors matching your theme color.

  1. Adobe Color
  2. Color Hunt

##2. Typography Typography is another important part of a website. I saw so many websites fail at choosing the font. If your website has more reading content then font really matters. Let's see some history about fonts. There are two large font families.

###- Serif F

Serif font is inspired by olden days marble carvings. It is hard to carve 90 degree angles, so that's why serif font has triangle type curvature. Serif typeface makes you feel serious, authoritative and old. Serif has many sub-types like old style, transitional and modern.

E

Like colors fonts also have moods. Now serif font is seen as Traditional, Stable and Respectable.

VOGUE is the best example for serif typeface. vogue

###- Sans Serif sans f

Sans serif is Sensible, Simple and Straightforward. Sans serif have perfect right angles. Mostly startups tend to use sans serif typeface. You can use sans serif for body text because it makes text more readable.

Tip-1 💡: When choosing fonts don't choose more than two different fonts. Tip-2 💡: Avoid using these fonts - comic sans, kristen, curlz, viner and papyrus. These fonts are difficult to read and are only for fun.

Before deciding a font family, go through cssfontstack to know which fonts are safe to use.


##3. User Interface (UI) After learning about color theory and typography, the next thing you need to know about is User Interface design. UI is about how you use and arrange things on your website. There are five factors of UI - 1.Hierarchy, 2.Layout, 3.Alignment 4.Whitespace and 5.Audience. Let's understand these factors with examples.

###- Hierarchy A quick example of text hierarchy:

text hierarchy example

Here the main thing is whose certificate is that and for that left one is more appropriate. User may not have time to read all the text, for that highlight the most important information first hierarchically.

Example for color hierarchy:

color hierarchy example

See the spots highlighted by green boxes. These are the things most of the people consider about a product, right? So that is color hierarchy. Use color cleverly to highlight the things that need to attract the users.

Example for size hierarchy:

size hierarchy example

Now see this Netflix signup page. Here 1 > 2 > 3 in size. The first thing they want to show visitors is what Netflix is about. The second preferred thing is they want your email. And the third thing is small compared to other two because they don't consider it that much.

###- Layout Layout is about how you arrange your website elements. Don't be so bland by putting everything at same place like Wikipedia. Separate elements to different parts. If there is so much text, cut each line to 60 characters.

layout example

Check this out - csslayout

###- Alignment Alignment is about how you position an element relative to other element.

See this example:

alignment example

Got the difference? Even both websites has same content just alignment of different elements makes big difference.

###- Whitespace Whitespace refers to space around elements.

whitespace example

###- Audience Yes, audience is a factor of UI. Know your target audience, design for your audience. For example, the theme for YouTube and YouTube kids is different.

audience example

All the games websites theme is completely different from other websites.

games websites


##4. User Experience (UX) Let's move onto UX. Until now we tried to attract the users, now we need to impress the user. While UI attracts the user, UX makes the user comfortable using your website. Again, there are five factors you need to consider in UX - 1.Simplicity, 2.Consistency, 3.Reading Patterns

###- Simplicity Too much content at same place brings headache to the users as they can't understand where to look. Keep things simple by arranging and reducing the content. Simple is beautiful. Amazon website has bad UI and UX(If you know the reason comment below), but there are so many e-commerce websites with simple design.

###- Consistency Consistency makes your website easy to understand and easy to navigate, especially if your website is used by non-tech people or kids or old people.

###- Reading Patterns Reading patterns refers to how a user looks your website. There are some layouts called Z-layout, F-layout etc.., which can used to design the layout of your elements.

####F-Layout In f-layout important content will be on left side. See this example,

f-layout example

####Z-Layout Z-Layout includes logo(1), signup button(2) or something like that, some text(3) and call to action button(4).

z-layout example

##5. All platform design At the end of day, you don't just create website for desktop only, it needs to be responsive among different devices.


So, if you follow these principles, then you can make a great design. great


What other principles would you consider for a good web design? Comment below 👇


Hope this helps you! Save for reference. Follow for more awesomeness 😀. You can connect with me on Twitter and LinkedIn.