F
Filament14mo ago
Thijmen

Custom colors with TextColumn badges

Is there a way to get custom colors as badge?
Solution:
you can pass a custom color using the Color class in any of the ->color() modifiers. For example. ```php use Filament\Support\Colors\Color; ...
Jump to solution
1 Reply
Solution
awcodes
awcodes14mo ago
you can pass a custom color using the Color class in any of the ->color() modifiers. For example.
use Filament\Support\Colors\Color;

->color(Color::hex('#bada55')
use Filament\Support\Colors\Color;

->color(Color::hex('#bada55')
Want results from more Discord servers?
Add your server