Last updated on February 21, 2026
Colors
Nativewind v5 supports all Tailwind CSS color utilities and several additional color features on native.
Theme Colors
In Tailwind CSS v4, colors are defined in @theme:
These are available as text-brand, bg-brand-dark, border-surface, etc.
CSS Variable Colors
Use CSS variables for dynamic colors that can change at runtime:
Special Values
| Value | Behavior |
|---|---|
transparent | Fully transparent (rgba(0,0,0,0)) |
currentColor / current | Inherits the current text color |
inherit | Inherits the value from the parent |
Color Functions
color-mix()
Blend two colors in a given color space:
Opacity Modifier
Tailwind's opacity modifier syntax works on native:
HSL and HSLA
HSL color values are supported in various syntaxes:
CSS variables can be used inside color functions: