Skip to main content

Overview

Podifai’s color shades system automatically generates 13 variations of each global color (Primary and Neutral), giving you precise control over every visual element in your customizers.

How Color Shades Work

When you set a Primary or Neutral color in Global Settings, Podifai uses an intelligent algorithm to generate a full spectrum of shades:
  • Lighter shades (25-400): Created by progressively brightening your base color toward white
  • Base shade (500): Your selected color
  • Darker shades (600-950): Created by progressively darkening your base color toward black
This system is inspired by Tailwind CSS’s color palette approach, ensuring professional and harmonious color combinations.

Complete Shade Scale

Shade Numbers and Brightness

ShadeBrightnessVisual WeightCommon Uses
2598%Ultra LightSubtle backgrounds, ghost buttons
5095%Extra LightLight backgrounds, disabled states
7590%Very LightHover backgrounds, light borders
10085%LightCard backgrounds, input backgrounds
20075%Light MediumBorders, dividers, inactive elements
30065%Medium LightSecondary text, placeholder text
40055%MediumMuted text, disabled text
50050%BasePrimary actions, selected states
60045%Medium DarkPrimary text, icons
70035%DarkHeadings, strong emphasis
80025%Extra DarkHigh contrast text
90015%DarkestMaximum contrast, deep backgrounds
9508%Ultra DarkDeepest possible shade
Brightness percentages are approximate and depend on your base color’s hue and saturation.

Using Shades in Option Types

Text Color Properties

When configuring text colors in any option type, you can specify shades using this format:
text[shade]
Examples:
  • text25 - Ultra light text (rarely used)
  • text300 - Secondary text, help text
  • text500 - Base color text
  • text700 - Primary text, headings
  • text900 - Maximum contrast text

Background Color Properties

For background colors, use:
bg[shade]
Examples:
  • bg50 - Very light background
  • bg100 - Light card background
  • bg500 - Base color background
  • bg800 - Dark background

Border Color Properties

For borders, use:
border[shade]
Examples:
  • border200 - Light border
  • border300 - Default border
  • border500 - Prominent border
  • border700 - Strong border

Practical Examples

Example 1: Light Theme Option

{
  "backgroundColor": "bg50",
  "textColor": "text700",
  "borderColor": "border200",
  "hoverBackgroundColor": "bg100"
}
Result: Light, clean appearance with good contrast

Example 2: Dark Theme Option

{
  "backgroundColor": "bg900",
  "textColor": "text100",
  "borderColor": "border700",
  "hoverBackgroundColor": "bg800"
}
Result: Dark, modern appearance

Example 3: Accent/Selected State

{
  "backgroundColor": "bg500",
  "textColor": "text50",
  "borderColor": "border600",
  "hoverBackgroundColor": "bg600"
}
Result: Bold, eye-catching selected state

Shade Selection Guide

For Light Backgrounds

When using light background shades (25-200):
  • Text: Use dark shades (600-900) for readability
  • Borders: Use medium shades (200-400)
  • Icons: Use dark shades (700-900)

For Dark Backgrounds

When using dark background shades (700-950):
  • Text: Use light shades (25-200) for readability
  • Borders: Use medium-light shades (400-600)
  • Icons: Use light shades (100-300)

For Medium Backgrounds

When using medium background shades (300-600):
  • Text: Use either very light (25-100) or very dark (800-950)
  • Borders: Use contrasting shades (±200 from background)
  • Icons: Match text color for consistency

Accessibility Guidelines

WCAG Contrast Requirements

To meet accessibility standards, ensure sufficient contrast between text and backgrounds:
Text SizeMinimum Contrast RatioRecommended Shade Combinations
Normal Text4.5:1bg50 + text700, bg900 + text100
Large Text3:1bg100 + text600, bg800 + text200
UI Components3:1bg200 + text600, bg700 + text200
Quick Rule: Keep at least 400-500 shade difference between text and background for good contrast.

Testing Contrast

Always test your color combinations:
  1. Use browser developer tools to check contrast ratios
  2. Test with users who have visual impairments
  3. View your customizers in different lighting conditions
  4. Check on various devices and screen types

Advanced Usage

Gradient Backgrounds

Create subtle gradients using adjacent shades:
from-bg100 to-bg200
This creates a gentle gradient effect.

Hover States

For interactive elements, shift shades by 100-200:
  • Default: bg300
  • Hover: bg400 or bg500
  • Active: bg500 or bg600

Focus States

For focus indicators, use high-contrast shades:
  • Focus Ring: border500 or border600
  • Focus Background: bg100 or bg200

Color Shade Visualization

Primary Color Example

If your Primary color is #E89623 (Orange):
ShadeHex ColorPreview
25#FEF9F3Very pale orange
50#FDF3E7Pale orange
100#FCE7CFLight orange
200#F9D0A0Soft orange
300#F5B871Medium-light orange
400#F1A147Medium orange
500#E89623Base orange
600#C97E1EDark orange
700#A66719Darker orange
800#824F14Deep orange
900#5E380FVery deep orange
950#3A220AUltra deep orange

Neutral Color Example

If your Neutral color is #454343 (Dark Gray):
ShadeHex ColorPreview
25#FAFAFAAlmost white
50#F5F5F5Very light gray
100#E8E8E8Light gray
200#D4D4D4Soft gray
300#A3A3A3Medium-light gray
400#737373Medium gray
500#454343Base dark gray
600#3A3838Darker gray
700#2F2D2DDeep gray
800#242323Very deep gray
900#1A1919Almost black
950#0F0F0FNear black
Actual generated shades may vary slightly based on the algorithm’s optimization for visual harmony.

Best Practices

When creating visual hierarchies, use consistent shade increments (e.g., always 200 shades apart) for a harmonious design.
Don’t use all 13 shades in a single component. Stick to 3-5 shades for a clean, professional look.
Always preview your shade choices in the actual customizer, not just in the color picker.
Keep a reference of which shades you use for which elements to maintain consistency across customizers.
Color perception varies across devices and screens. Always test your color choices on multiple devices before finalizing your design.