Skip to content
On this page

custom-belt-lib / Modules / Belt / BeltColor

Interface: BeltColor

Belt.BeltColor

Used to assign/lookup friendly names to hex colors

js
const beltColors: BeltColor = { name: "White", hex: "#FFFFFF"};

Table of contents

Properties

Properties

hex

hex: string

hex code beginning with # then 3 or 6 valid hex characters (ex. "#FFFFFF")

Defined in

Belt.ts:113


name

name: string

friendly lookup name for hex color (ex. "White")

Defined in

Belt.ts:117

Released under the MIT License.