Overview
Proyecto Neptuno uses a sophisticated color system based on CSS custom properties (variables) defined in the:root selector. This approach enables consistent theming and easy maintenance.
Primary Colors
The primary color is Granate Corporativo (Corporate Garnet), reflecting the iconic arch of the building.Primary
#8B1D1D - Main brand color used for buttons, accents, and borders
Primary Light
#A32A2A - Hover states and lighter accents
Secondary Colors
The secondary color is Dorado Champán (Champagne Gold), used for decorative accents.Secondary
#B89D64 - Labels, decorative elements, footer hover
Secondary Light
#E5D1A4 - Subtitle text on dark backgrounds
Background Colors
Three background colors create visual hierarchy:Background Usage Examples
Background Usage Examples
Principal (White) - Main content areas:Secondary (Smoke Gray) - Alternating sections:Footer (Charcoal Black) - Site footer:
Text Colors
Three text color variables ensure proper contrast:- Dark Text
- Light Text
- Muted Text
How to Use Colors
In Your CSS
Always reference CSS variables instead of hardcoding hex values:Real-World Example: Button Styles
This pattern makes it easy to change the entire color scheme by modifying just the
:root variables.Customizing the Color System
To customize colors for your project:- Locate the
:rootselector instyle.css(around line 8) - Modify the CSS variables:
- Save and refresh - All components automatically update!
No need to search and replace throughout the entire stylesheet. The power of CSS variables!
Color Accessibility
The color system ensures WCAG AA contrast ratios:- Dark text (#1A1A1A) on white - Excellent contrast
- Light text (#F5F5F5) on footer (#1A1A1A) - High contrast
- Primary color (#8B1D1D) with light text - Sufficient contrast for buttons