Color palette reference showing semantic colors and theme color slots with their utility classes.

Semantic Colors

Standard semantic colors used throughout the framework for status indication.

Success
Success
--pc-success
Warning
Warning
--pc-warning
Danger
Danger
--pc-danger
Info
Info
--pc-info
Accent
Accent
--pc-accent
Main BG
Main BG
--pc-main-bg
Page BG
Page BG
--pc-page-bg

Theme Color Slots (1-9)

Custom theme colors that can be overridden per-theme. Use these for branded elements.

Colors are ordered by perceived luminance: color-1 is always the lightest, color-9 is always the darkest. This consistent ordering allows components to pick slots by relative brightness (e.g. use lower numbers for light accents, higher numbers for dark/muted tones) without knowing the specific theme palette.

Color 1
Color 1
--pc-color-1
Color 2
Color 2
--pc-color-2
Color 3
Color 3
--pc-color-3
Color 4
Color 4
--pc-color-4
Color 5
Color 5
--pc-color-5
Color 6
Color 6
--pc-color-6
Color 7
Color 7
--pc-color-7
Color 8
Color 8
--pc-color-8
Color 9
Color 9
--pc-color-9

Color Utility Classes

Apply theme colors to any element using these utility classes.

Background Colors

.surface-color-1 to .surface-color-9

Slot background + auto-contrasting text. Use .bg-color-N for background only.

bg-color-1bg-color-2bg-color-3bg-color-4bg-color-5bg-color-6bg-color-7bg-color-8bg-color-9

Text Colors

.text-color-1 to .text-color-9

Text 1Text 2Text 3Text 4Text 5Text 6Text 7Text 8Text 9

Border Colors

.border-color-1 to .border-color-9

Applied to Components

Examples of color utilities applied to various components.

Alerts with Theme Colors

Cards with Colored Headers

Color 1 Header

Card with .pa-card--color-1 variant.

Color 5 Header

Card with .pa-card--color-5 variant.

Color 8 Header

Card with .pa-card--color-8 variant.

Mixed Badges

Success Warning Danger Info Color 1 Color 2 Color 6 Color 9

John Doe

Administrator

Settings

Press Ctrl+K to preview the palette.
Sidebar
Display
Profile Panel
Body text size. All elements scale proportionally.
Commands
🚀
Deploy to Environment
Deploy a branch to an environment
g d
👤
Assign to User
Assign an item to a team member
g a
🧭
Go to Page
Navigate to a page
g g
🎨
Switch Theme
Change the visual theme
g t
Search
📦
Products
Search products
:products
📋
Orders
Search orders
:orders
👥
Users
Search users
:users
🧾
Invoices
Search invoices
:invoices