Color variable support for input descriptions

reference australia Updated Sep 10, 2026 3 min read color-var-input-description.md
Raw file servicenow.com

Learn how to use color variables to change theming in your mobile input descriptions.

Use color variables in the Description field of your inputs to control text color.

Use color variables in the Description field of your inputs to control text color when Description field is configured as HTML.

For example, in addition to color hex values like #FF0000, you may use a color variable, such as --now-color-primary-0. For a list of available variables see Color theme considerations for mobile.

For details on inputs, see Configure an input form screen.

[Omitted image "color-var-example-7.png"] Alt text: Color variable used in an input description

## Input description color guide

Color variables are divided into Use the design guideline to identify the right color variable for your use case.

  • Alert color palette

    Alert color palette colors highlight important statuses, states and tasks. Use alert colors to communicate a specific meaning rather than for decoration or organization.

  • Grouped color palette

    Grouped color palette colors follow color conventions in a line of industry. Use these colors to show that the colored item is associated with a specific industry or line of business. The meaning of each color depends on context, but should remain consistent within your app.

Color name

Example

Color variables

Critical

[Omitted image "alert-color-palette-critical.png"] Alt text: Critical alert color scheme

  • Mobile variable

alert--critical-0

  • Web variable

--now-color_alert--critical-0

High

[Omitted image "alert-color-palette-high.png"] Alt text: High alert color scheme

  • Mobile variable

alert--high-0

  • Web variable

--now-color_alert--high-0

Warning

[Omitted image "alert-color-palette-warning.png"] Alt text: Warning alert color scheme

  • Mobile variable

alert--warning-0

  • Web variable

--now-color_alert--warning-0

Moderate

[Omitted image "alert-color-palette-moderate.png"] Alt text: Moderate alert color scheme

  • Mobile variable

alert--moderate-0

  • Web variable

--now-color_alert--moderate-0

Info

[Omitted image "alert-color-palette-info.png"] Alt text: Info alert color scheme

  • Mobile variable

alert--info-0

  • Web variable

--now-color_alert--info-0

Positive

[Omitted image "alert-color-palette-positive.png"] Alt text: Positive alert color scheme

  • Mobile variable

alert--positive-0

  • Web variable

--now-color_alert--positive-0

Low

[Omitted image "alert-color-palette-low.png"] Alt text: Low alert color scheme

  • Mobile variable

alert--low-0

  • Web variable

--now-color_alert--low-0

Disabled

[Omitted image "alert-color-palette-disabled.png"] Alt text: Disabled alert color scheme

  • Mobile variable

alert-disabled-background

  • Web variable

--now-color_background--secondary

Critical (Alternate)

[Omitted image "alert-color-palette-critical2.png"] Alt text: Critical alert color scheme alternate

  • Mobile variable

alert--critical-4

  • Web variable

--now-color_alert--critical-4

High (Alternate)

[Omitted image "alert-color-palette-high2.png"] Alt text: High alert color scheme alternate

  • Mobile variable

alert--high-4

  • Web variable

--now-color_alert--high-4

Warning (Alternate)

[Omitted image "alert-color-palette-warning2.png"] Alt text: Warning alert color scheme alternate

  • Mobile variable

alert--warning-4

  • Web variable

--now-color_alert--warning-4

Moderate (Alternate)

[Omitted image "alert-color-palette-moderate2.png"] Alt text: Moderate alert color scheme alternate

  • Mobile variable

alert--moderate-4

  • Web variable

--now-color_alert--moderate-4

Info (Alternate)

[Omitted image "alert-color-palette-info2.png"] Alt text: Info alert color scheme alternate

  • Mobile variable

alert--info-4

  • Web variable

--now-color_alert--info-4

Positive (Alternate)

[Omitted image "alert-color-palette-positive2.png"] Alt text: Positive alert color scheme alternate

  • Mobile variable

alert--positive-4

  • Web variable

--now-color_alert--positive-4

Low (Alternate)

[Omitted image "alert-color-palette-low2.png"] Alt text: Low alert color scheme alternate

  • Mobile variable

alert--low-4

  • Web variable

--now-color_alert--low-4

Disabled (Alternate)

[Omitted image "alert-color-palette-disabled2.png"] Alt text: Disabled alert color scheme alternate

  • Mobile variable

alert-disabled-text

  • Web variable

--now-color_text--tertiary

Color name

Example

Color options

Blue

[Omitted image "grouped-color-palette-blue.png"] Alt text: Blue grouped color scheme

  • Web variable

--now-color_grouped--blue-0

Brown

[Omitted image "grouped-color-palette-brown.png"] Alt text: Brown grouped color scheme

  • Web variable

--now-color_grouped--brown-0

Gray

[Omitted image "grouped-color-palette-gray.png"] Alt text: Gray grouped color scheme

  • Web variable

--now-color_grouped--gray-0

Green

[Omitted image "grouped-color-palette-green.png"] Alt text: Green grouped color scheme

  • Web variable

--now-color_grouped--green-0

Green-Yellow

[Omitted image "grouped-color-palette-green-yellow.png"] Alt text: Green-yellow grouped color scheme

  • Web variable

--now-color_grouped--green-yellow-0

Magenta

[Omitted image "grouped-color-palette-magenta.png"] Alt text: Magenta grouped color scheme

  • Web variable

--now-color_grouped--magenta-0

Orange

[Omitted image "grouped-color-palette-orange.png"] Alt text: Orange grouped color scheme

  • Web variable

--now-color_grouped--orange-0

Pink

[Omitted image "grouped-color-palette-pink.png"] Alt text: Pink grouped color scheme

  • Web variable

--now-color_grouped--pink-0

Purple

[Omitted image "grouped-color-palette-purple.png"] Alt text: Purple grouped color scheme

  • Web variable

--now-color_grouped--purple-0

Teal

[Omitted image "grouped-color-palette-teal.png"] Alt text: Teal grouped color scheme

  • Web variable

--now-color_grouped--teal-0

Yellow

[Omitted image "grouped-color-palette-yellow.png"] Alt text: Yellow grouped color scheme

  • Web variable

--now-color_grouped--yellow-0

Blue (Alternate)

[Omitted image "grouped-color-palette-blue2.png"] Alt text: Blue grouped color scheme alternate

  • Web variable

--now-color_grouped--blue-4

Brown (Alternate)

[Omitted image "grouped-color-palette-brown2.png"] Alt text: Brown grouped color scheme alternate

  • Web variable

--now-color_grouped--brown-4

Gray (Alternate)

[Omitted image "grouped-color-palette-gray2.png"] Alt text: Gray grouped color scheme alternate

  • Web variable

--now-color_grouped--gray-4

Green (Alternate)

[Omitted image "grouped-color-palette-green2.png"] Alt text: Green grouped color scheme alternate

  • Web variable

--now-color_grouped--green-4

Green-Yellow (Alternate)

[Omitted image "grouped-color-palette-green-yellow2.png"] Alt text: Green-yellow grouped color scheme alternate

  • Web variable

--now-color_grouped--green-yellow-4

Magenta (Alternate)

[Omitted image "grouped-color-palette-magenta2.png"] Alt text: Magenta grouped color scheme alternate

  • Web variable

--now-color_grouped--magenta-4

Orange (Alternate)

[Omitted image "grouped-color-palette-orange2.png"] Alt text: Orange grouped color scheme alternate

  • Web variable

--now-color_grouped--orange-4

Pink (Alternate)

[Omitted image "grouped-color-palette-pink2.png"] Alt text: Pink grouped color scheme alternate

  • Web variable

--now-color_grouped--pink-4

Purple (Alternate)

[Omitted image "grouped-color-palette-purple2.png"] Alt text: Purple grouped color scheme alternate

  • Web variable

--now-color_grouped--purple-4

Teal (Alternate)

[Omitted image "grouped-color-palette-teal2.png"] Alt text: Teal grouped color scheme alternate

  • Web variable

--now-color_grouped--teal-4

Yellow (Alternate)

[Omitted image "grouped-color-palette-yellow2.png"] Alt text: Yellow grouped color scheme alternate

  • Web variable

--now-color_grouped--yellow-4

Search documentation
Search document titles and file paths on the australia branch