Customizing Widget Colors
Overview
Match the AllAccessible widget to your brand by customizing its color scheme. This guide shows you how to select colors, ensure accessibility compliance, and create a cohesive look with your website.
Who This Is For
Designers matching widget to brand guidelines
Website owners personalizing appearance
Anyone wanting the widget to blend with their site
What You'll Learn
How to use the color picker
Which colors to customize
Ensuring accessible color contrast
Testing color combinations
Available Color Options
1. Background Color
What it controls: The main widget button background
Default: #2563eb (Blue)
Considerations:
Should match your primary or accent brand color
Must contrast with page background
Needs to be visible but not overwhelming
π· Widget button showing background color
2. Icon Color
What it controls: The accessibility icon inside the button
Default: #ffffff (White)
Considerations:
Must contrast with background color (4.5:1 minimum)
Usually white or very light for dark backgrounds
Usually dark for light backgrounds
π· Widget icon color examples
3. Hover Color
What it controls: Background color when user hovers over button
Default: #1e40af (Darker Blue)
Considerations:
Should be noticeable change from regular background
Typically a darker or lighter shade of background color
Indicates interactivity
π· Widget hover state
4. Focus Color
What it controls: Outline color when button is focused (keyboard navigation)
Default: #059669 (Green)
Considerations:
Must be highly visible
Should contrast with both button and page background
Critical for keyboard users
π· Widget focus state
How to Customize Colors
Method 1: Color Picker (Visual Selection)
Step 1: Access Widget Settings
Dashboard β Sites β [Your Site] β Widget Settings
Scroll to "Colors & Appearance" section
Step 2: Use Color Picker
Click the colored square next to each color option
Color picker popup appears
Select your color by:
Clicking in the color spectrum
Dragging sliders
Using preset swatches
Step 3: Confirm Selection
Color updates in preview panel instantly
Text field shows hex value
Preview shows how it looks
π· Color picker interface
Method 2: Hex Code Entry (Precise Colors)
For exact brand colors:
Step 1: Get Your Brand's Hex Codes
From brand guidelines document
From website CSS
From design tool (Figma, Adobe)
Example:
Primary Brand Color: #FF6B35
Step 2: Enter Hex Code
Click in the text field next to color preview
Type or paste hex code:
#FF6B35Press Enter
Preview updates automatically
Supported Formats:
#FF6B35(6-digit hex)#F63(3-digit hex shorthand)FF6B35(without #)
Ensuring Accessible Color Contrast
Why Contrast Matters
WCAG Requirements:
Minimum (Level AA): 4.5:1 contrast ratio for normal text
Enhanced (Level AAA): 7:1 contrast ratio
Your widget needs accessible contrast too!
Checking Your Color Combinations
Background vs. Icon Color:
Must have at least 4.5:1 contrast ratio
Good Combinations:
β Dark blue background (#2563eb) + White icon (#ffffff) = 8.6:1
β Black background (#000000) + Yellow icon (#ffff00) = 19.6:1
β Orange background (#FF6B35) + White icon (#ffffff) = 4.7:1
Bad Combinations:
β Light gray (#cccccc) + White icon (#ffffff) = 1.4:1 (too low!)
β Yellow (#ffff00) + White (#ffffff) = 1.07:1 (barely visible)
β Red (#ff0000) + Black (#000000) = 5.2:1 (good) but avoid red/black for color blind users
Using Contrast Checkers
Free Tools:
WebAIM Contrast Checker: https://webaim.org/resources/contrastchecker/
Coolors Contrast Checker: https://coolors.co/contrast-checker
Browser DevTools: Built-in contrast checking
How to Use:
Enter your background color
Enter your icon color
Tool shows contrast ratio
Aim for 4.5:1 or higher
π· Contrast checker tool
Brand Color Matching
Getting Your Brand Colors
Method 1: From Brand Guidelines
Primary: #2563eb Secondary: #10b981 Accent: #f59e0b
Method 2: From Your Website
Right-click on branded element β Inspect
Look at Computed styles
Find
background-colororcolorpropertyCopy hex value
Method 3: Color Picker Browser Extension
Install ColorZilla or similar
Click on any color on your site
Copy hex code
Recommended Color Schemes
Professional/Corporate
Conservative and trustworthy:
Background: #1e3a8a (Navy Blue)
Icon: #ffffff (White)
Hover: #1e40af (Lighter Navy)
Focus: #10b981 (Green)
Contrast: 11.2:1 β
Creative/Modern
Bold and eye-catching:
Background: #7c3aed (Purple)
Icon: #ffffff (White)
Hover: #6d28d9 (Darker Purple)
Focus: #f59e0b (Orange)
Contrast: 8.2:1 β
Minimalist/Clean
Subtle and refined:
Background: #6b7280 (Gray)
Icon: #ffffff (White)
Hover: #4b5563 (Darker Gray)
Focus: #2563eb (Blue)
Contrast: 5.7:1 β
Healthcare/Medical
Calming and professional:
Background: #0891b2 (Teal)
Icon: #ffffff (White)
Hover: #0e7490 (Darker Teal)
Focus: #059669 (Green)
Contrast: 4.9:1 β
E-Commerce/Retail
Energetic and inviting:
Background: #dc2626 (Red)
Icon: #ffffff (White)
Hover: #b91c1c (Darker Red)
Focus: #eab308 (Yellow)
Contrast: 5.9:1 β
Non-Profit/Community
Warm and welcoming:
Background: #ea580c (Orange)
Icon: #ffffff (White)
Hover: #c2410c (Darker Orange)
Focus: #0891b2 (Teal)
Contrast: 5.3:1 β
Testing Your Color Choices
Visual Testing Checklist
Before Saving:
Preview looks good in dashboard
Colors match brand guidelines
Contrast ratio is 4.5:1 or higher
Hover state is noticeably different
Focus state is highly visible
After Saving (1 hour later):
Test on actual website
Check on white backgrounds
Check on dark backgrounds
Test on colored page sections
Verify mobile appearance
Color Blindness Testing
Test with simulators:
Chrome DevTools: Rendering β Emulate vision deficiencies
Colorblind Web Page Filter: https://www.toptal.com/designers/colorfilter
Browser extensions: Colorblindly, NoCoffee Vision Simulator
Common Issues:
Red/Green combinations (deuteranopia)
Blue/Yellow combinations (tritanopia)
Low contrast for monochromatic vision
Solution: Ensure 4.5:1 contrast regardless of color blindness type.
Common Color Mistakes
β Insufficient Contrast
Problem: Light icon on light background or dark on dark
Example:
Background: #93c5fd (Light Blue)
Icon: #ffffff (White)
Contrast: 2.1:1 (FAILS!)
Solution: Use darker background or darker icon color
β Too Many Colors
Problem: Using 5+ different colors
Keep it simple:
β 2-3 colors maximum
β Variations of same color (light/dark shades)
β Rainbow effect (unprofessional)
β Clashing with Page Design
Problem: Widget stands out awkwardly
Example:
Website: Pastel pink theme
Widget: Bright neon green
Solution: Match website's color palette or use neutral colors
β Red/Green Only Differentiation
Problem: Using red and green as only distinction
Bad for: 8% of men with red-green color blindness
Solution: Add shape or icon differences, not just color
Advanced Color Techniques
Using Brand Color Variables
If you have brand variables:
/* Your brand stylesheet */
:root {
--brand-primary: #2563eb;
--brand-secondary: #10b981;
--brand-accent: #f59e0b;
}
In AllAccessible:
Background: Use
--brand-primaryvalue (#2563eb)Hover: Use slightly darker shade
Focus: Use
--brand-secondaryvalue (#10b981)
Complementary Color Selection
Use color wheel relationships:
Analogous: Colors next to each other (harmonious)
Complementary: Opposite colors (high contrast)
Triadic: Three equally spaced colors (balanced)
Tools:
Adobe Color: https://color.adobe.com
Coolors Generator: https://coolors.co
Paletton: http://paletton.com
Seasonal Color Updates
Change colors for campaigns:
Holiday themes (December: red/green)
Awareness months (October: pink for breast cancer)
Brand campaigns (match campaign colors)
Remember: 1-hour propagation time, so plan ahead!
Troubleshooting Color Issues
Issue: Colors Look Different on Live Site
Possible Causes:
Monitor calibration: Colors vary by screen
Browser rendering: Slight variations between browsers
Color profile: sRGB vs Display P3
Solution:
Test on multiple devices
Use widely compatible colors
Avoid edge cases (very bright or very saturated)
Issue: Widget Hard to See
Cause: Insufficient contrast with page background
Solution:
Ensure button background contrasts with page
Add shadow/glow if needed (automatic)
Choose more contrasting color
Issue: Changes Don't Appear
Cause: Cache propagation
Solution:
Wait full 60 minutes
Clear browser cache
Test in incognito mode
Color Accessibility Resources
Contrast Checkers:
Color Blindness Simulators:
Color Palette Generators:
Related Articles
Widget Customization Overview - All options explained
Changing Widget Position - Position guide
Customizing Widget Branding - White-label options
Advanced Widget Settings - Technical customization
Last Updated: October 2025
βMinimum Contrast Required: 4.5:1 (WCAG Level AA)
βUpdate Propagation: Up to 1 hour
