Overview
The system uses a comprehensive color coding system for visual identification of instructors and class statuses, making the calendar and reports easy to scan.Instructor Colors
Color Assignment
Each instructor is assigned a unique color:~/workspace/source/README.md:99-102
Color Display in Calendar
~/workspace/source/README.md:277-280
Instructor Legend
Color legend displayed below calendar:~/workspace/source/src/pages/Calendario.tsx:237-248
Class Status Colors
Status Color Mapping
Defined color palette for class statuses:~/workspace/source/src/pages/Finanzas.tsx:54-67
Status Color System
~/workspace/source/src/pages/Finanzas.tsx:69-76
Visual Status Indicators
~/workspace/source/README.md:281-286
Specialty Colors
Color Coding by Specialty
~/workspace/source/src/pages/Finanzas.tsx:78-83
Horse Type Colors
School vs Private Horses
Different colors for horse types:~/workspace/source/README.md:324-327
Chart Colors
Pie Chart Colors
Consistent colors in pie charts:~/workspace/source/src/pages/Finanzas.tsx:578-597
Bar Chart Colors
Specialty-based coloring:~/workspace/source/src/pages/Finanzas.tsx:640-654
Trial Class Indicators
Orange Border for Trial Classes
~/workspace/source/README.md:182-188
Status Badges
Colored Status Badges
~/workspace/source/src/pages/Finanzas.tsx:1215-1224
Attendance Color Coding
Table Column Colors
Color-coded attendance columns:~/workspace/source/src/pages/Finanzas.tsx:821-838
Cell Value Colors
~/workspace/source/src/pages/Finanzas.tsx:856-872
Progress Indicators
Colored Progress Bars
~/workspace/source/src/pages/Finanzas.tsx:876-882
Color Accessibility
Readability Considerations
~/workspace/source/README.md:279
Colors are lightened for backgrounds to ensure text readability.
Border Emphasis
Status indicated by border color instead of just background:~/workspace/source/README.md:280
This provides clear status indication even with instructor background color.
Color Meanings
Status Color Semantics
- Orange (🟠) - Scheduled/Pending - Neutral waiting state
- Blue (🔵) - In Progress - Active state
- Green (🟢) - Completed - Success state
- Red (🔴) - Canceled - Error/stopped state
- Purple (🟣) - Excused Absence - Acceptable absence
- Pink (🌸) - Unexcused Absence - Problem absence
Type Color Semantics
- Blue - School horses (institutional)
- Gold - Private horses (premium/personal)
Best Practices
- Consistent Usage - Always use same colors for same meanings
- High Contrast - Ensure sufficient contrast for readability
- Color + Text - Don’t rely on color alone, include text labels
- Limited Palette - Use defined color palette consistently
- Semantic Colors - Colors should have logical meaning (red=problem, green=success)
- Accessibility - Consider colorblind users, use patterns or text
- Visual Hierarchy - Use color to guide attention to important information
- Legend Provision - Always provide color legends for charts
Color Customization
The system uses CSS custom properties and Tailwind for theming:- Theme colors defined in CSS variables
- Consistent across light/dark modes
- Semantic color naming (primary, success, destructive)
- Chart colors defined in constants for consistency