Overview
The Siloé Perú website uses CSS custom properties (variables) to maintain a consistent color scheme throughout the site. All color definitions are centralized in thestyle.css file, making it easy to rebrand the entire site by changing just a few values.
CSS Variables Location
All color variables are defined in the:root selector at the top of ~/workspace/source/style.css:
style.css:4-11
Primary Brand Colors
Azul Siloé (Primary Blue)
Variable:--azul-siloe: #29abe2
This is the main brand color used throughout the site for:
- Section headings
- Primary buttons
- Navigation highlights
- Links and accents
Rosa Vibrante (Vibrant Pink)
Variable:--rosa-vibrante: #FF69B4
Used for energy and warmth in:
- Clown section accents
- Call-to-action elements
- Hover states
- Gradient combinations
Amarillo Vibrante (Vibrant Yellow)
Variable:--amarillo-vibrante: #FFD700
Adds joy and brightness to:
- Clown hero sections
- Statistics displays
- Inspirational quote cards
- Gradient backgrounds
Changing Brand Colors
Locate the :root section
Find lines 4-11 at the top of the file where all color variables are defined
Gradient Usage
The site extensively uses CSS gradients combining the brand colors. These are used in:Hero Sections
index.html:17
Clown Hero Background
style.css:184
Navigation Buttons (Active State)
style.css:66
Inspiration Section
style.css:268
Secondary Colors
Supporting Colors
- Celeste Claro (
--celeste-claro: #e1f5fe) - Used for card backgrounds - Gris Oscuro (
--gris-oscuro: #333) - Main text color - Blanco (
--blanco: #ffffff) - Primary background
Color Consistency Across Sections
The site maintains color consistency through:- Volunteer Section: Predominantly blue (
--azul-siloe) - Clown Section: Yellow and pink gradients
- About Section: Mixed blue and pink for impact
- Allies Section: Blue with pink accents
Testing Your Color Changes
Visual inspection
Check all major sections:
- Hero banner
- Navigation buttons
- Section headings
- Form buttons
- Gallery overlays
- Footer
Interactive elements
Test hover states on:
- Navigation buttons (line 58-74 in style.css)
- Form submit buttons (line 399-416)
- Gallery cards (line 253-256)
- WhatsApp button (line 1568-1572)
Gradient backgrounds
Verify gradients appear correctly in:
- Hero section
- Clown hero section
- Inspiration section
- Gallery flip card backs
Advanced Color Customization
Adjusting Gradient Opacity
Many gradients use rgba() values for transparency. Adjust the fourth parameter (alpha) to control opacity:Section-Specific Color Overrides
If you need different colors for specific sections, you can override the variables locally:Common Color Locations
| Element | File | Line | Variable Used |
|---|---|---|---|
| Navigation active button | style.css | 66 | Gradient (yellow + pink) |
| Section headings | style.css | 225, 336 | --azul-siloe |
| Primary form button | style.css | 400 | --azul-siloe |
| Clown form button | style.css | 420 | Gradient (yellow + pink) |
| Gallery overlay | style.css | 1401 | Gradient (blue + pink) |
| Footer links | style.css | 453 | --azul-siloe |
Related Documentation
- Content Customization - Update text and messaging
- Images Customization - Replace photos and graphics
- Forms Customization - Modify form styling