Colors
This page loads the optional
dist/css/adminlte-colors.css — fourteen extra colours
(orange, amber, olive, teal, sky, indigo, violet, fuchsia, pink,
navy, steel, slate, graphite, midnight) as --bs-* tokens plus the
.bg-*, .text-bg-*, .text-*,
.border-*, .link-*, .bg-gradient-*,
.card-*, .callout-* and .direct-chat-*
families — and data-lte-primary, which makes any of
them Bootstrap's primary, buttons and all. It is not
part of adminlte.css; nothing else in the demo uses it.
Every colour takes white text at 4.6:1 or better and was placed
to sit next to Bootstrap's own theme colours without clashing.
Prefer the AdminLTE 3 colours exactly as they were? A second sheet,
dist/css/adminlte-colors-v3.css, ships them under their
original names — switch this page to it below. How and why is on the
Colors documentation page.
Palette on this page
Fourteen colours designed in OKLCH — every one takes white text and sits cleanly next to Bootstrap's theme colours. The eighteen AdminLTE 3 colours, values unchanged, with v3's text-colour rule (lime, orange and yellow take dark text). Same class families. Several fail WCAG AA with white text, as they did in v3.
Try a skin on this page
A skin is a background utility plus data-bs-theme
on the sidebar and the header — no CSS of its own. The
buttons below recolour this page's sidebar and header
so you can judge a combination in place; the markup they
produce is printed underneath. For the footer, Bootstrap's own
backgrounds and free mixing, use the
Theme Customize page —
its pickers list the palette under "Extended palette".
Light
White chrome; the widgets and the active item carry the colour.
Semi-dark
Dark sidebar, light header — the most common admin layout, and AdminLTE's default.
Full dark
Dark sidebar and dark header; the body stays light unless the visitor picks dark mode.
Coloured & gradient
Brand-forward chrome: one strong hue, or the v3 gradient sheen.
Sidebar colour
Header colour
Dark sidebar
skin-blue, skin-purple, skin-green, skin-red, skin-yellow, skin-black — a coloured header over the v3 dark sidebar.
Light sidebar
The "-light" family: the same headers over a white sidebar.
Sidebar colour
Header colour
Make one of them your primary
Bootstrap compiles $primary into its components,
so .btn-primary carries
--bs-btn-bg: #0d6efd rather than
var(--bs-primary) — overriding the token alone
leaves buttons blue. This sheet rewires those components and
points them at a palette colour when you add
data-lte-primary to <html>.
Buttons, links, pagination, checkboxes, the focus ring,
progress bars, active list items and dropdown items follow;
nothing changes without the attribute.
The palette
oklch(0.58 0.17 42)
white 4.6:1
oklch(0.57 0.12 67)
white 4.6:1
oklch(0.55 0.13 126)
white 4.6:1
oklch(0.55 0.09 190)
white 4.7:1
oklch(0.56 0.12 237)
white 4.6:1
oklch(0.58 0.20 283)
white 4.6:1
oklch(0.58 0.20 303)
white 4.6:1
oklch(0.59 0.20 324)
white 4.6:1
oklch(0.59 0.20 350)
white 4.6:1
oklch(0.30 0.06 263)
white 13.7:1
oklch(0.40 0.04 261)
white 9.2:1
oklch(0.50 0.03 253)
white 6.0:1
oklch(0.33 0.01 258)
white 12.1:1
oklch(0.24 0.03 287)
white 16.6:1
white 3.7:1 · black 5.7:1
white 16.6:1 · black 1.3:1
white 3.5:1 · black 6.0:1
white 1.4:1 · black 15.5:1
white 3.8:1 · black 5.5:1
white 4.9:1 · black 4.2:1
white 4.0:1 · black 5.3:1
white 7.2:1 · black 2.9:1
white 6.5:1 · black 3.2:1
white 3.8:1 · black 5.5:1
white 4.5:1 · black 4.6:1
white 2.6:1 · black 8.2:1
white 1.6:1 · black 12.9:1
white 3.1:1 · black 6.7:1
white 2.1:1 · black 9.9:1
white 3.0:1 · black 6.9:1
white 4.7:1 · black 4.5:1
white 11.5:1 · black 1.8:1
Utilities, components and the dashboard sets are demonstrated with the designed palette; the v3 sheet emits exactly the same class families for these eighteen names.
Dashboard sets
Which four colours to put on a widget row is where "random" usually creeps in. These quartets are chosen by hue relationship. They are recommendations, not classes.
Balanced
text-bg-indigotext-bg-tealtext-bg-ambertext-bg-pink
Cool
text-bg-indigotext-bg-skytext-bg-tealtext-bg-violet
Warm
text-bg-pinktext-bg-orangetext-bg-ambertext-bg-fuchsia
With Bootstrap
text-bg-primarytext-bg-tealtext-bg-orangetext-bg-violet
Utilities
Every family Bootstrap generates for its theme colours, generated
for the palette — the same CSS-variable shape, so
.bg-opacity-*, .link-underline-* and friends compose. The raw text and link swatches use a white background to demonstrate fixed palette colours in either theme.
| Utility | orange | amber | olive | teal | sky | indigo | violet | fuchsia | pink | navy | steel | slate | graphite | midnight |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
.bg-* |
||||||||||||||
.text-bg-* |
Aa | Aa | Aa | Aa | Aa | Aa | Aa | Aa | Aa | Aa | Aa | Aa | Aa | Aa |
.bg-* .bg-opacity-25 |
||||||||||||||
.bg-gradient-* |
||||||||||||||
.text-* |
Aa | Aa | Aa | Aa | Aa | Aa | Aa | Aa | Aa | Aa | Aa | Aa | Aa | Aa |
.border-* |
||||||||||||||
.link-* |
||||||||||||||
.callout-* |
Subtle | Subtle | Subtle | Subtle | Subtle | Subtle | Subtle | Subtle | Subtle | Subtle | Subtle | Subtle | Subtle | Subtle |
Components
AdminLTE's widgets colour themselves through .text-bg-*
and the --lte-card-variant-* variables, so the palette
reaches them with no per-component CSS.
.card-indigo
.card-outline.card-pink
.card.text-bg-teal
.alert-*.
Check a brand colour
Adding your own colour is a one-line Sass override —
$lte-palette-custom: ("brand": #hex) — and it then
gets every token, utility and component hook the shipped colours
get. The one thing worth checking first is that white text on it
reaches 4.5:1, so .text-bg-brand, small boxes and a
branded sidebar stay readable. Paste a colour: