Skip to content

nyumathclinic/nyu-colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nyu-colors

Python package providing NYU brand color constants and a Color enum.

Installation

Install directly from GitHub:

pip install https://github.com/nyumathclinic/nyu-colors/archive/refs/heads/main.zip

Usage

Module-level constants

Each NYU brand color is available as a hex string constant:

from nyu_colors import NYU_VIOLET, TEAL, MAGENTA

print(NYU_VIOLET)   # "#57068c"
print(TEAL)         # "#009b8a"
print(MAGENTA)      # "#fb0f78"

Color enum

All colors are also accessible through the Color enum:

from nyu_colors import Color

print(Color.NYU_VIOLET.value)    # "#57068c"
print(Color.ULTRA_VIOLET.value)  # "#8900e1"

Available colors

Color Name Hex
NYU Violet color swatch NYU_VIOLET #57068c
Ultra Violet color swatch ULTRA_VIOLET #8900e1
Medium Violet 1 color swatch MEDIUM_VIOLET1 #702b9d
Medium Violet 2 color swatch MEDIUM_VIOLET2 #7b5aa6
Light Violet 1 color swatch LIGHT_VIOLET1 #ab82c5
Light Violet 2 color swatch LIGHT_VIOLET2 #eee6f3
Deep Violet color swatch DEEP_VIOLET #330662
Black color swatch BLACK #000000
Dark Gray color swatch DARK_GRAY #404040
Medium Gray 1 color swatch MEDIUM_GRAY1 #6d6d6d
Medium Gray 2 color swatch MEDIUM_GRAY2 #b8b8b8
Medium Gray 3 color swatch MEDIUM_GRAY3 #d6d6d6
Light Gray color swatch LIGHT_GRAY #f2f2f2
White color swatch WHITE #ffffff
Magenta color swatch MAGENTA #fb0f78
Teal color swatch TEAL #009b8a
Blue color swatch BLUE #59b2d1
Yellow color swatch YELLOW #f4ec51

License

Copyright 1831–2026 New York University. All Rights Reserved.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages