Customizing Colors
Colors shape your site's personality and brand. This guide covers the color system and how to customize your palette.
Color System Overview
New Salon uses a semantic color system:
| Color Role | Purpose |
|---|---|
| Background | Page and section backgrounds |
| Foreground | Primary text color |
| Primary | Accent color, buttons, links |
| Secondary | Supporting elements |
| Muted | Subtle backgrounds, borders |
| Accent | Highlights, focus states |
Accessing Color Settings
- Click Settings > Theme
- Select Colors tab
- See all color options
Core Colors
Background Color
The base color of your pages.
Options:
- Pure white (#FFFFFF)
- Off-white (#F8F8F8)
- Light gray (#F0F0F0)
- Custom color
Tips:
- Pure white can be harsh; try off-white
- Ensure contrast with text
- Consider your images
Foreground Color
Main text color.
Options:
- Pure black (#000000)
- Dark gray (#1A1A1A)
- Charcoal (#333333)
- Custom color
Tips:
- Pure black can be too stark
- #1A1A1A is softer, still readable
- Match warmth to background
Primary Color
Your brand/accent color.
Used for:
- Buttons
- Links
- Active states
- Highlights
Choosing:
- Use your brand color
- Ensure contrast with background
- Test against both light/dark modes
Setting Colors
Using the Color Picker
- Click any color swatch
- Color picker opens
- Choose color using:
- Color spectrum
- Hue slider
- Hex input
- RGB values
Entering Specific Values
For precise colors:
- Click the color field
- Enter hex code:
#FF5733 - Or RGB:
rgb(255, 87, 51) - Press Enter to apply
Using Brand Colors
If you have brand guidelines:
- Get hex codes from your guide
- Enter primary brand color as Primary
- Use complementary colors for Secondary
- Maintain your brand palette
Color Palette Tips
Creating Harmony
Build a cohesive palette:
- Start with Primary - Your main brand color
- Derive Secondary - Lighter or complementary
- Choose Background - Works with both
- Set Text - Readable on background
Color Relationships
| Relationship | How to Find |
|---|---|
| Complementary | Opposite on color wheel |
| Analogous | Adjacent on color wheel |
| Triadic | Three equidistant colors |
| Monochromatic | Shades of one color |
Tools for Palettes
External resources:
- Coolors.co
- Adobe Color
- ColorHunt
- Muzli Colors
Contrast and Accessibility
Why Contrast Matters
Good contrast ensures:
- Text is readable
- Buttons are visible
- All users can access content
- WCAG compliance
Checking Contrast
| Text Size | Minimum Ratio |
|---|---|
| Normal text | 4.5:1 |
| Large text (18px+) | 3:1 |
| UI components | 3:1 |
Testing Contrast
- Use browser dev tools
- Or online contrast checkers
- Check text on all backgrounds
- Test buttons and links
Dark Mode Colors
Separate Palettes
Dark mode needs different values:
| Light Mode | Dark Mode |
|---|---|
| White background | Dark gray background |
| Dark text | Light text |
| Bright primary | Adjusted primary |
Setting Dark Mode Colors
- Go to Colors > Dark Mode
- Configure each color for dark
- Test the dark mode toggle
Tips for Dark Mode
- Don't use pure black (#000)
- Reduce white brightness
- Adjust primary for dark backgrounds
- Test buttons and links
Color Variables
How Variables Work
Colors are stored as CSS variables:
--color-background: #ffffff;
--color-foreground: #1a1a1a;
--color-primary: #3b82f6;
Benefits
- Change once, update everywhere
- Easy theme switching
- Consistent styling
- Dark mode support
Advanced Color Options
Gradient Backgrounds
For gradient backgrounds:
- Go to Advanced > Custom CSS
- Add gradient CSS
- Override background variable
Color Opacity
Create transparent versions:
- Use RGBA:
rgba(59, 130, 246, 0.5) - Or hex with alpha:
#3b82f680
Semantic Colors
Additional semantic colors:
| Color | Purpose |
|---|---|
| Success | Confirmations (#22C55E) |
| Warning | Alerts (#F59E0B) |
| Error | Errors (#EF4444) |
| Info | Information (#3B82F6) |
Testing Your Colors
Preview Checklist
After changing colors:
- Text readable on all backgrounds
- Buttons clearly visible
- Links distinguishable
- Images look good
- Dark mode works
- Mobile looks right
Common Issues
Text hard to read:
- Increase contrast
- Darken text or lighten background
Colors clash with images:
- Use more neutral backgrounds
- Consider image editing
Primary too subtle:
- Increase saturation
- Adjust brightness
Next Steps
- Typography Settings - Font configuration
- Dark Mode - Light/dark toggle
- Choosing a Theme - Theme presets