Sonzaschool
Rudi

Sekondari ya Kawaida · Kidato cha Tatu · Amali · Electronics and Computer

Graphic Design

Colour scheme for web design and UI/UX

takriban dakika 5 kusoma

Majadiliano
Mada za sehemu hiiPerforming basics of web designMada 7

Understanding Colour Schemes in Web Design and UI/UX

A colour scheme is a planned selection of colours that work together harmoniously in a design. In web design and UI/UX, colour schemes guide users, establish brand identity, and create visually appealing interfaces that enhance the overall user experience.

Key Terms in Colour Schemes

Primary colour – The main colour that represents a brand and appears most frequently in the design.

Secondary colour – A supporting colour used for less prominent elements like backgrounds or cards.

Accent colour – A bright colour used sparingly to draw attention to important elements such as buttons, links, or alerts.

Colour harmony – The pleasing arrangement of colours based on their relationships on the colour wheel.

Contrast – The difference in brightness or colour between elements, making text readable and important elements stand out.

Types of Colour Schemes

The textbook presents six main types of colour schemes for UI/UX design:

Monochromatic – Uses different tints, tones, and shades of a single colour. This creates a clean, cohesive look that feels calm and organized.

Example: A meditation app using varying shades of blue to create a peaceful, easy-to-navigate interface.

Complementary – Combines two opposite colours from the colour wheel. This creates strong contrast and visual interest.

Example: An e-commerce website using bright orange "Buy Now" buttons on a dark blue background to make the call-to-action clearly visible.

Analogous – Uses colours that are next to each other on the colour wheel. This creates a smooth, harmonious transition between colours.

Example: A recipe app using red, orange, and yellow to create a warm, inviting feeling that matches food-related content.

Triadic – Uses three colours evenly spaced on the colour wheel. This offers good contrast while maintaining balance.

Example: A dashboard UI using red for alerts, blue for information, and yellow for tips to clearly distinguish different types of content.

Tetradic (double-complementary) – Combines two pairs of complementary colours. This offers variety and contrast, suitable for complex applications.

Example: A design tool using purple, yellow, teal, and coral to separate different UI components clearly.

Split-complementary – Uses a base colour and two colours adjacent to its complement. This provides contrast without the tension of true complementary colours.

Example: A weather app using teal, coral, and mustard to distinguish forecast sections and alerts gracefully.

Principles of Using Colour in UI Design

Establish brand identity through colour Choose colours that reflect the brand's personality and use them consistently across all pages. Facebook uses blue to represent trust and stability.

Use high contrast for readability Ensure text stands out clearly from backgrounds. Black text on a white background is easier to read than light gray text on white.

Apply the 60-30-10 rule The dominant colour (60%) fills backgrounds, the secondary colour (30%) covers UI elements, and the accent colour (10%) highlights important actions.

Example:

  • 60% (white background): Creates clean space
  • 30% (blue navigation): Provides structure
  • 10% (orange buttons): Draws attention to key actions

Consider psychological effects of colours Different colours evoke different emotions. Blue is calming and professional, suitable for banking apps. Red creates urgency, useful for sales promotions. Green suggests growth and health, ideal for wellness apps.

Adapt colours for light and dark mode Many apps offer both light and dark themes. Colours must be adjusted in both modes to maintain visibility and visual appeal.

Tools for Creating Colour Palettes

ToolTypeKey Features
Adobe ColourFree / ProprietaryColour wheel, harmony rules
CoolorsFreemiumFast palette generation
KhromaFree (AI-based)Learns your colour preferences
Colour HuntFreeCurated community palettes
PalettonWeb-basedInteractive colour wheel

Procedure for Creating Colour Schemes

  1. Understand the purpose and audience – Determine what the interface should achieve and who will use it. Align colours with brand values and emotional tone.

  2. Choose primary and secondary colours – Select colours that fit the brand identity while ensuring good contrast for readability. Use tools like Adobe Colour or Coolors to experiment.

  3. Build a colour palette – Expand from primary and secondary to create a full palette including accent colours, backgrounds, and text colours.

  4. Test accessibility – Check colour contrast using tools like WebAIM Contrast Checker to ensure all users can read the content.

  5. Apply consistently – Use the colour palette systematically across all interface elements to maintain visual harmony.

Practical Application: Creating an Analogous and Complementary Palette

Step 1: Study the colour wheel to understand relationships between colours.

Step 2: Select analogous colours (three to five colours next to each other) for a soothing effect, or complementary colours (opposites) for strong contrast.

CSS Example for Analogous:

:root {
  --colour-primary: #4A90E2;
  --colour-secondary: #50E3C2;
  --colour-tertiary: #7ED6A5;
}

CSS Example for Complementary:

:root {
  --colour-primary: #4A90E2;
  --colour-complementary: #E27A4A;
}

Step 3: Apply colours to UI elements like buttons, backgrounds, and navigation menus. Ensure text remains readable against backgrounds.

HTML Example:

<button class="btn-primary">Primary Action</button>
<button class="btn-secondary">Secondary Action</button>

CSS Example:

.btn-primary {
  background-color: var(--colour-primary);
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}
.btn-secondary {
  background-color: var(--colour-secondary);
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
}

Step 4: Assess visual balance, readability, and emotional impact. Use contrast checker tools to verify accessibility.

Real-life application

In Tanzania, a student could apply colour scheme knowledge to design a website for a local market vendor in Dar es Salaam selling fresh produce. Using appropriate colours like green (representing freshness and agriculture) for the primary colour with orange accents for "Order Now" buttons would create an appealing, trustworthy interface that encourages customers to purchase vegetables, fruits, or maize directly from the vendor online.

Jinsi utakavyotathminiwaTathmini ya mchakato · Tathmini ya matokeo · Tathmini ya maarifa

Tathmini ya mchakato

  • Use industrial standard web design software.
  • Implement ways of creating colour scheme for web design and UI/UX.
  • Apply procedures for creating colour scheme for web design and UI/UX.
  • Observe safety precautions
  • Maintain a clean and organized workspace.

Tathmini ya matokeo

Colour scheme for web design and UI/UX as per required standard.

Tathmini ya maarifa

Knowledge evidence:

Detailed knowledge of:

Method used: The student should explain how to create colour scheme for web design and UI/UX.

Principles: The student should explain the principles of creating colour scheme for web design and UI/UX.

Theories: The student should explain:

  • The concept of creating colour scheme for web design and UI/UX.
  • Key-terms in creating colour scheme for web design and UI/UX.
  • Importance of creating colour scheme for web design and UI/UX.

Circumstantial knowledge:

Detailed knowledge about:

  • Safety precautions while handling equipment and design projects
  • Waste disposal
  • First aid

Swali

According to the 60-30-10 rule in UI design, which colour proportion is used for backgrounds?

Ingia ili kuwasilisha jibu lako na lihesabiwe katika umahiri wako.

Ingia ili kufanya mazoezi

Mwalimu

Umekwama? Niulize chochote kuhusu mada hii.

Ingia ili kumuuliza Mwalimu wa AI wa Sonza kuhusu swali hili.

Ingia ili kuuliza

Majadiliano

Hakuna maswali bado

Ingia ili kuuliza
Inapakia majadiliano…