Color Palette
Skelementor includes a carefully curated color palette designed for modern web applications.Color Palette
| White | #ffffff | Backgrounds, text on dark |
| Black | #000000 | Text, borders |
| Dark Gray | #374151 | Primary text |
| Gray | #6b7280 | Secondary text |
| Light Gray | #9ca3af | Muted text |
| Blue | #3b82f6 | Primary actions, links |
| Green | #10b981 | Success states |
| Red | #ef4444 | Error states, warnings |
| Yellow | #f59e0b | Warning states |
Text Colors
Control text color with semantic color utilities.Text Colors
.text-white | White | #ffffff | color: #ffffff; | Text on dark backgrounds |
.text-black | Black | #000000 | color: #000000; | Primary text |
.text-gray-dark | Dark Gray | #374151 | color: #374151; | Primary text |
.text-gray | Gray | #6b7280 | color: #6b7280; | Secondary text |
.text-gray-light | Light Gray | #9ca3af | color: #9ca3af; | Muted text |
.text-blue | Blue | #3b82f6 | color: #3b82f6; | Links, primary actions |
.text-green | Green | #10b981 | color: #10b981; | Success messages |
.text-red | Red | #ef4444 | color: #ef4444; | Error messages |
.text-yellow | Yellow | #f59e0b | color: #f59e0b; | Warning messages |
Examples
Background Colors
Control background color with semantic utilities.Background Colors
.bg-white | White | #ffffff | background-color: #ffffff; | Light backgrounds |
.bg-black | Black | #000000 | background-color: #000000; | Dark backgrounds |
.bg-gray-dark | Dark Gray | #374151 | background-color: #374151; | Dark sections |
.bg-gray | Gray | #6b7280 | background-color: #6b7280; | Muted backgrounds |
.bg-gray-light | Light Gray | #f3f4f6 | background-color: #f3f4f6; | Subtle backgrounds |
.bg-blue | Blue | #3b82f6 | background-color: #3b82f6; | Primary actions |
.bg-green | Green | #10b981 | background-color: #10b981; | Success states |
.bg-red | Red | #ef4444 | background-color: #ef4444; | Error states |
.bg-yellow | Yellow | #f59e0b | background-color: #f59e0b; | Warning states |
Examples
Border Colors
Control border color with semantic utilities.Border Colors
.border-white | White | #ffffff | border-color: #ffffff; | White borders |
.border-black | Black | #000000 | border-color: #000000; | Black borders |
.border-gray | Gray | #6b7280 | border-color: #6b7280; | Standard borders |
.border-gray-light | Light Gray | #e5e7eb | border-color: #e5e7eb; | Subtle borders |
.border-blue | Blue | #3b82f6 | border-color: #3b82f6; | Primary borders |
Examples
Color Combinations
High Contrast Combinations
High Contrast Text
Subtle Combinations
Subtle Text Colors
Status Color Combinations
Status Colors
Common Color Patterns
Card with Color Accent
Colored Card
Button Color Variants
Button Colors
Form Field States
Form States
Navigation with Color
Colored Navigation
Color Accessibility
Contrast Requirements
Accessibility Note: Ensure sufficient color contrast for readability. The
color palette is designed to meet WCAG AA standards.
Contrast Guidelines
- Normal text: Minimum 4.5:1 contrast ratio - Large text: Minimum 3:1 contrast ratio - UI components: Minimum 3:1 contrast ratio - Focus indicators: Minimum 3:1 contrast ratio
Color Blindness Considerations
Color Blindness Support
- Don’t rely solely on color to convey information - Use icons, text, or patterns alongside color - Test with color blindness simulators - Provide alternative ways to identify status
Color Best Practices
Semantic Usage
1
Use Semantic Colors
Use colors that match their semantic meaning (green for success, red for
errors).
2
Maintain Consistency
Use the same colors for the same purposes throughout your design.
3
Consider Context
Choose colors that work well with your brand and content.
4
Test Accessibility
Ensure all color combinations meet accessibility standards.
Color Hierarchy
Color Hierarchy
- Primary: Blue for main actions and links 2. Secondary: Gray for supporting text and elements 3. Success: Green for positive feedback 4. Warning: Yellow for cautionary messages 5. Error: Red for errors and destructive actions 6. Neutral: White, black, and grays for structure

