td-colors-brands
v1.0.0
Published
A TypeScript library of popular brand color constants and a typed brand color palette.
Downloads
114
Maintainers
Readme
[Tusinski Dev] Color Brands
td-colors-brands
td-colors-brands provides a curated collection of popular brand color hex constants and a typed brand color palette for TypeScript projects.
Install
npm install td-colors-brandsUsage
import {
GOOGLE_BLUE,
MICROSOFT_RED,
SPOTIFY_GREEN,
ALL_BRAND_COLORS,
type BrandColor,
} from 'td-colors-brands';
console.log(GOOGLE_BLUE); // #4285F4
const productPalette: BrandColor[] = [MICROSOFT_RED, SPOTIFY_GREEN, GOOGLE_BLUE];
const themeColors = ALL_BRAND_COLORS;Exports
ALL_BRAND_COLORS— array of all exported brand color hex valuesBrandColor— type alias for supported brand color hex values- individual brand constants such as
AMAZON_ORANGE,APPLE_BLACK,NETFLIX_RED,TESLA_WHITE
Example
import { AMAZON_ORANGE, STARBUCKS_GREEN } from 'td-colors-brands';
const callToActionColor = AMAZON_ORANGE;
const accentColor = STARBUCKS_GREEN;Notes
The library is designed for easy TypeScript consumption and CSS color value reuse in UI themes, branding tools, or marketing templates.
