Colors

Carefully curated selection of colors that have been formally endorsed or sanctioned for use in specific contexts such as branding and design purposes. We possess a unique and comprehensive collection of colors for visually expressing our brand. More info at HPU Branding Guides

How It Works

  • The HPU approved colors arranged in order and use ordinal adjectives (*-1st, *-2nd, *-3rd, etc.) to easily follow the color hierarchy.
  • To apply colors on any element, the base format will be .hpu-{type}-{color}:
    • Where the type is one of:
      • bg - for background colors
      • border - for borders
      • overlay - for semi-transparent colored background
      • text - for text colors
    • Where the color is one of the ordinal adjectives mentioned above, or name of the colors that are not included in the hierarchy, such as:
      • black
      • white
      • dark-gray
      • gray
      • success
      • warning
  • For other HPUCSS modules, the same format generally applies, with variations depending on the specific module and module type. For example:
    • For Cards: .hpu-card .card-bg-{color}
    • For Buttons: .hpu-btn .btn-bg-{color} for solid buttons or .btn-outline-{color} for outlined buttons
    • For Navbars: .hpu-nav .nav-bg-{color}
  • Please refer to the specific module for guidance on applying colors to your elements.

SCSS Color Variables

HPU Color Palette is defined under _variables.scss, and is used as an array to loop with the different colors.

scss/components/_variables.scss



$hpu-colors : (
    'default' : #405c6e,   // default
    '1st' : #007298,   // teal
    '2nd' : #71B1C8,   // light teal
    '3rd' : #4f758b,   // blue gray
    '4th' : #397dc9,   // deep ocean blue
    '5th' : #002856,   // blue
    '6th' : #ffc72c,   // warm sun (yellow)
    '7th' : #dbe442,   // new leaf green
    '8th' : #f7941d,   // sunset
    'black' : #000000,   // black
    'dark-gray' : #333333,   // dark gray
    'gray' : #a3a5a6,   // gray
    'success' : #71bf43,   // green
    'warning' : #da3228,   // red
    'white' : #ffffff,   // white
);

Background Colors

Enhance visual design and improve readability or emphasis on web pages. Apply background colors using .hpu-bg-{colors} classes.

NOTE: depending on the background color selected, the text color has already been set for contrast. If different text color is desired, then .hpu-text-{color} must be used.

The Default Color

Primary Colors

Teal (On a webpage, this color should be 75% dominant if color variety is desired).

Light Teal

Black

White (with black border for contrast)

Secondary Colors

Blue Gray

Ocean Blue

Dark Blue

Warm Sun

Leaf Green

Sunset

Dark Gray

Gray

Success

Warning

Border Colors

Apply border colors using .hpu-border-{colors} classes.

Default

Primary Colors

Teal

Light Teal

Black

White (with black background for contrast)

Secondary Colors

Blue Gray

Ocean Blue

Dark Blue

Warm Sun

Leaf Green

Sunset

Dark Gray

Gray

Success

Warning

Overlay Colors

Semi-transparent colors on top of underlying objects, such as background images. Great for landing page background or as text overlay: .hpu-overlay-{color}.

Default

Primary Colors

Teal

Light Teal

Black

White

Secondary Colors

Blue Gray

Ocean Blue

Dark Blue

Warm Sun

Leaf Green

Sunset

Dark Gray

Gray

Success

Warning

Text Colors

Visual representation of textual content: .hpu-text-{color}. The default text color is #405c6e.

Default Color

Primary Colors:

Teal

Light Teal

Black

White

Secondary Colors:

Blue Gray

Ocean Blue

Dark Blue

Warm Sun

Leaf Green

Sunset

Dark Gray

Gray

Success

Warning