© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•4w ago•
3 replies
Wim

Color different between v3 and v4

✅ Solved4️⃣v4
I have the following code in my AppPanelProvider.php:

   ->colors([
      'primary' => Color::hex('#BE123C'),    // #88 13 37
      'secondary' => Color::hex('#312E81'),  // #49 46 129
      'danger' => Color::Red,
      'success' => Color::Green,
      'warning' => Color::Yellow,
      'info' => Color::Blue,
  ])
   ->colors([
      'primary' => Color::hex('#BE123C'),    // #88 13 37
      'secondary' => Color::hex('#312E81'),  // #49 46 129
      'danger' => Color::Red,
      'success' => Color::Green,
      'warning' => Color::Yellow,
      'info' => Color::Blue,
  ])


In Filament v3: this is the true dark rose color (see screenshot)
In FIlament v4: this is a much lighter rose color (see screenshot)

I know I could do
'primary' => Color::Rose
'primary' => Color::Rose
but I need a darker variant

Did something change between v3 and v4 related to this? Any suggestions to fix this?
image.png
image.png
Solution
Yes, there was a change for better color contrast. There is a way to generate the old palette. I think it’s something like
Color::generateV3Palette()
Color::generateV3Palette()
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

V4 much slower than V3
FilamentFFilament / ❓┊help
7mo ago
tailwind v4 with tailwind v3
FilamentFFilament / ❓┊help
11mo ago
Primary Color for v3?
FilamentFFilament / ❓┊help
3y ago
Filament v3 to v4 upgrade testing issues
FilamentFFilament / ❓┊help
2mo ago