discordjs-colors-bundle
Advanced tools
Comparing version 2.2.1 to 2.3.0
{ | ||
"name": "discordjs-colors-bundle", | ||
"version": "2.2.1", | ||
"version": "2.3.0", | ||
"description": "Tons of colors for your DiscordJS bot's embed", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -21,3 +21,3 @@ # 🌈 DiscordJS Colors Bundle | ||
- More than 150 unique colors | ||
- More than 300 unique colors | ||
- Zero-Dependency module | ||
@@ -24,0 +24,0 @@ - Light weight |
@@ -247,2 +247,114 @@ /** | ||
TiffanyBlue: 0x0abab5, | ||
CoralPink: 0xf88379, | ||
DeepLilac: 0x9955bb, | ||
ElectricLime: 0xceff1d, | ||
NeonFuchsia: 0xfe59c2, | ||
OrchidPurple: 0x784384, | ||
PaleCyan: 0x87ffeb, | ||
TealGreen: 0x00a99d, | ||
VividMarigold: 0xffc600, | ||
BlushPink: 0xf29b9b, | ||
IceBlue: 0xd7efff, | ||
LemonZest: 0xfff700, | ||
MauveMist: 0xe0b0ff, | ||
PeridotGreen: 0xa4c639, | ||
RadiantRose: 0xff4871, | ||
RichLavender: 0xa76bcf, | ||
SummerSky: 0x38b0de, | ||
TwinklingTurquoise: 0x54ffd2, | ||
ElectricCrimson: 0xff003f, | ||
FluorescentGreen: 0x08ff08, | ||
GrapePurple: 0x5d1451, | ||
HotPurple: 0xcb00f5, | ||
LavenderPurple: 0x967bb6, | ||
NavyGreen: 0x35530a, | ||
PaleViolet: 0xcc99ff, | ||
RoyalGold: 0xcca500, | ||
TidalBlue: 0x0a98c4, | ||
AntiqueFuchsia: 0x915c83, | ||
BubblegumPink: 0xff69af, | ||
CyberGrape: 0x58427c, | ||
ElectricOrange: 0xff3503, | ||
FlamingoPink: 0xff66ff, | ||
KiwiGreen: 0x8ee53f, | ||
Limeade: 0x6f9e02, | ||
MardiGras: 0x880085, | ||
PastelGreen: 0x77dd77, | ||
RazzleDazzleRose: 0xff33cc, | ||
ShamrockGreen: 0x009e60, | ||
SunburntCyclops: 0xff404c, | ||
ViperGreen: 0x46cb18, | ||
WinterSky: 0xff007c, | ||
AmberRose: 0xff7e4e, | ||
BabyBlueEyes: 0xa1caf1, | ||
CarnationPink: 0xffa6c9, | ||
DeepMagenta: 0xcc00cc, | ||
ElectricPurple: 0xbf00ff, | ||
Honeydew: 0xf0fff0, | ||
Iceberg: 0x71a6d2, | ||
JungleGreen: 0x29ab87, | ||
LavenderBlush: 0xfff0f5, | ||
Malibu: 0x5f9ea0, | ||
NeonYellow: 0xccff00, | ||
PaleCornflowerBlue: 0xabcdef, | ||
RaspberryPink: 0xe25098, | ||
RoseQuartz: 0xaa98a9, | ||
Saffron: 0xf4c430, | ||
SillyGreen: 0x76ff7a, | ||
TangerineYellow: 0xffcc00, | ||
UltraPink: 0xff6fff, | ||
VanDykeBrown: 0x664228, | ||
WildBlueYonder: 0xa2add0, | ||
AcidGreen: 0xb0bf1a, | ||
BahamaBlue: 0x0067a5, | ||
CaribbeanGreen: 0x00cc99, | ||
CoralReef: 0xfd7c6e, | ||
DarkLiver: 0x534b4f, | ||
Emerald: 0x50c878, | ||
FluorescentOrange: 0xffbf00, | ||
Grullo: 0xa99a86, | ||
HotMagenta: 0xff1dce, | ||
Icterine: 0xfcf75e, | ||
Jonquil: 0xfada5e, | ||
Keppel: 0x3ab09e, | ||
LightApricot: 0xfdd5b1, | ||
MintCream: 0xf5fffa, | ||
Mystic: 0xd65282, | ||
NavyPurple: 0x9457eb, | ||
OldLace: 0xfdf5e6, | ||
PaleSilver: 0xc9c0bb, | ||
QueenBlue: 0x436b95, | ||
RaisinBlack: 0x242124, | ||
SalmonPink: 0xff91a4, | ||
Sunset: 0xfad6a5, | ||
TickleMePink: 0xfc89ac, | ||
UCLABlue: 0x536895, | ||
VeryLightBlue: 0x6666ff, | ||
WindsorTan: 0xa75502, | ||
YoungGreen: 0xa9ba9d, | ||
Zinnwaldite: 0xe4d5b7, | ||
AirSuperiorityBlue: 0x72a0c1, | ||
BabyPowder: 0xfefefa, | ||
CandyAppleRed: 0xff0800, | ||
DeepChestnut: 0xb94e48, | ||
ElectricBlue: 0x7df9ff, | ||
FuchsiaPink: 0xff77ff, | ||
GreenLizard: 0xa7f432, | ||
IrisBlue: 0x5a4fcf, | ||
JetStream: 0xbeeef4, | ||
LavenderRose: 0xfba0e3, | ||
Mantis: 0x74c365, | ||
NapierGreen: 0x2a8000, | ||
Ochre: 0xcc7722, | ||
PaleMagenta: 0xf984e5, | ||
PlumWeb: 0xdda0dd, | ||
RazzmicBerry: 0x8d4e85, | ||
SizzlingRed: 0xff3855, | ||
SpanishCarmine: 0xd10047, | ||
TerraCotta: 0xe2725b, | ||
TurquoiseBlue: 0x00ffef, | ||
VividRaspberry: 0xff006c, | ||
Watermelon: 0xfd5b78, | ||
YellowOrange: 0xffae42, | ||
Zomp: 0x39a78e, | ||
RandomAdvanced: getRandomHexColor(), | ||
@@ -264,2 +376,6 @@ }; | ||
IvoryOriginalBathSoap: 0xf2f2f2, | ||
LuxSoftTouchSoap: 0xe4c3d0, | ||
PalmoliveAromaMorningTonicSoap: 0xf7e9cc, | ||
PearsNaturalGlycerineSoap: 0xeae6e0, | ||
YardleyEnglishLavenderSoap: 0x9683a2, | ||
}, | ||
@@ -271,2 +387,6 @@ Electronics: { | ||
SonyPlayStation5: 0x000000, | ||
MicrosoftSurfaceBook3: 0x696969, | ||
LenovoThinkPadX1Carbon: 0x263238, | ||
DellXPS15: 0xfedcba, | ||
HPEnvy13: 0x00ffff, | ||
}, | ||
@@ -278,2 +398,6 @@ FoodAndBeverages: { | ||
Oreo: 0x0d1c2e, | ||
LaysClassicChips: 0xf7f7f7, | ||
Snickers: 0x8b4513, | ||
Nutella: 0x601309, | ||
MAndMs: 0xff8000, | ||
}, | ||
@@ -285,2 +409,6 @@ Clothing: { | ||
HAndMBasicTshirt: 0xefefef, | ||
ZaraDenimJacket: 0x0f4d92, | ||
Forever21PrintedDress: 0xff69b4, | ||
GucciLogoTee: 0x008000, | ||
BurberryCheckScarf: 0x800000, | ||
}, | ||
@@ -303,2 +431,5 @@ }; | ||
SnapchatLogo: 0xfffc00, | ||
PinterestLogo: 0xbd081c, | ||
TikTokLogo: 0x69c9d0, | ||
RedditLogo: 0xff4500, | ||
}, | ||
@@ -310,2 +441,6 @@ Communication: { | ||
SlackLogo: 0x4a154b, | ||
MicrosoftTeamsLogo: 0x6264a7, | ||
WhatsAppLogo: 0x25d366, | ||
TelegramLogo: 0x0088cc, | ||
SignalLogo: 0x5ac8fa, | ||
}, | ||
@@ -316,2 +451,7 @@ ECommerce: { | ||
ShopifyLogo: 0x7ab55c, | ||
AliExpressLogo: 0xff6d01, | ||
EtsyLogo: 0xd8a7b1, | ||
WalmartLogo: 0x007dc6, | ||
TargetLogo: 0xdb2828, | ||
BestBuyLogo: 0x003b64, | ||
}, | ||
@@ -323,2 +463,7 @@ Musics: { | ||
TidalLogo: 0xffffff, | ||
DeezerLogo: 0x00c7f2, | ||
AmazonMusicLogo: 0x231f20, | ||
GooglePlayMusicLogo: 0xff5722, | ||
PandoraLogo: 0x005483, | ||
SoundCloudLogo: 0xff3300, | ||
}, | ||
@@ -328,2 +473,4 @@ MusicRecognition: { | ||
MusixmatchLogo: 0xf05028, | ||
SoundHoundLogo: 0xff6600, | ||
GeniusLogo: 0xfbbc05, | ||
}, | ||
@@ -334,2 +481,7 @@ MusicalInstruments: { | ||
YamahaLogo: 0xe40045, | ||
RolandLogo: 0x00b0de, | ||
KorgLogo: 0xff4300, | ||
SteinwayAndSonsLogo: 0x000080, | ||
CasioLogo: 0xcc3333, | ||
PearlDrumsLogo: 0xffcc00, | ||
}, | ||
@@ -435,3 +587,2 @@ }, | ||
} | ||
// recursively get all color names from nested objects | ||
var getObjectColorNames = function (obj) { | ||
@@ -442,2 +593,8 @@ Object.keys(obj).forEach((key) => { | ||
} else { | ||
if (typeof obj[key] !== "number") { | ||
throw new ColorNameError( | ||
"InvalidColorObject", | ||
`Invalid color object ${key}` | ||
); | ||
} | ||
colorNames.push(key); | ||
@@ -444,0 +601,0 @@ } |
@@ -58,5 +58,4 @@ type RedInput = number; | ||
/** | ||
An object containing color names as keys and their corresponding number representation as values. | ||
*/ | ||
* An object containing color names as keys and their corresponding number representation as values. | ||
*/ | ||
interface Colors { | ||
@@ -211,8 +210,119 @@ Red: number; | ||
TiffanyBlue: number; | ||
CoralPink: number; | ||
DeepLilac: number; | ||
ElectricLime: number; | ||
NeonFuchsia: number; | ||
OrchidPurple: number; | ||
PaleCyan: number; | ||
TealGreen: number; | ||
VividMarigold: number; | ||
BlushPink: number; | ||
IceBlue: number; | ||
LemonZest: number; | ||
MauveMist: number; | ||
PeridotGreen: number; | ||
RadiantRose: number; | ||
RichLavender: number; | ||
SummerSky: number; | ||
TwinklingTurquoise: number; | ||
ElectricCrimson: number; | ||
FluorescentGreen: number; | ||
GrapePurple: number; | ||
HotPurple: number; | ||
LavenderPurple: number; | ||
NavyGreen: number; | ||
PaleViolet: number; | ||
RoyalGold: number; | ||
TidalBlue: number; | ||
AntiqueFuchsia: number; | ||
BubblegumPink: number; | ||
CyberGrape: number; | ||
ElectricOrange: number; | ||
FlamingoPink: number; | ||
KiwiGreen: number; | ||
Limeade: number; | ||
MardiGras: number; | ||
PastelGreen: number; | ||
RazzleDazzleRose: number; | ||
ShamrockGreen: number; | ||
SunburntCyclops: number; | ||
ViperGreen: number; | ||
WinterSky: number; | ||
AmberRose: number; | ||
BabyBlueEyes: number; | ||
CarnationPink: number; | ||
DeepMagenta: number; | ||
ElectricPurple: number; | ||
Honeydew: number; | ||
Iceberg: number; | ||
JungleGreen: number; | ||
LavenderBlush: number; | ||
Malibu: number; | ||
NeonYellow: number; | ||
PaleCornflowerBlue: number; | ||
RaspberryPink: number; | ||
RoseQuartz: number; | ||
Saffron: number; | ||
SillyGreen: number; | ||
TangerineYellow: number; | ||
UltraPink: number; | ||
VanDykeBrown: number; | ||
WildBlueYonder: number; | ||
AcidGreen: number; | ||
BahamaBlue: number; | ||
CaribbeanGreen: number; | ||
CoralReef: number; | ||
DarkLiver: number; | ||
Emerald: number; | ||
FluorescentOrange: number; | ||
Grullo: number; | ||
HotMagenta: number; | ||
Icterine: number; | ||
Jonquil: number; | ||
Keppel: number; | ||
LightApricot: number; | ||
MintCream: number; | ||
Mystic: number; | ||
NavyPurple: number; | ||
OldLace: number; | ||
PaleSilver: number; | ||
QueenBlue: number; | ||
RaisinBlack: number; | ||
SalmonPink: number; | ||
Sunset: number; | ||
TickleMePink: number; | ||
UCLABlue: number; | ||
VeryLightBlue: number; | ||
WindsorTan: number; | ||
YoungGreen: number; | ||
Zinnwaldite: number; | ||
AirSuperiorityBlue: number; | ||
BabyPowder: number; | ||
CandyAppleRed: number; | ||
DeepChestnut: number; | ||
ElectricBlue: number; | ||
FuchsiaPink: number; | ||
GreenLizard: number; | ||
IrisBlue: number; | ||
JetStream: number; | ||
LavenderRose: number; | ||
Mantis: number; | ||
NapierGreen: number; | ||
Ochre: number; | ||
PaleMagenta: number; | ||
PlumWeb: number; | ||
RazzmicBerry: number; | ||
SizzlingRed: number; | ||
SpanishCarmine: number; | ||
TerraCotta: number; | ||
TurquoiseBlue: number; | ||
VividRaspberry: number; | ||
Watermelon: number; | ||
YellowOrange: number; | ||
Zomp: number; | ||
RandomAdvanced: Function; | ||
} | ||
/** | ||
An object containing internet app color names as keys and their corresponding number representation as values. | ||
*/ | ||
*An object containing internet app color names as keys and their corresponding number representation as values. | ||
*/ | ||
interface InternetColors { | ||
@@ -225,2 +335,5 @@ SocialMedia: { | ||
SnapchatLogo: number; | ||
PinterestLogo: number; | ||
TikTokLogo: number; | ||
RedditLogo: number; | ||
}; | ||
@@ -232,2 +345,6 @@ Communication: { | ||
SlackLogo: number; | ||
MicrosoftTeamsLogo: number; | ||
WhatsAppLogo: number; | ||
TelegramLogo: number; | ||
SignalLogo: number; | ||
}; | ||
@@ -238,2 +355,7 @@ ECommerce: { | ||
ShopifyLogo: number; | ||
AliExpressLogo: number; | ||
EtsyLogo: number; | ||
WalmartLogo: number; | ||
TargetLogo: number; | ||
BestBuyLogo: number; | ||
}; | ||
@@ -245,2 +367,7 @@ Musics: { | ||
TidalLogo: number; | ||
DeezerLogo: number; | ||
AmazonMusicLogo: number; | ||
GooglePlayMusicLogo: number; | ||
PandoraLogo: number; | ||
SoundCloudLogo: number; | ||
}; | ||
@@ -250,2 +377,4 @@ MusicRecognition: { | ||
MusixmatchLogo: number; | ||
SoundHoundLogo: number; | ||
GeniusLogo: number; | ||
}; | ||
@@ -256,5 +385,11 @@ MusicalInstruments: { | ||
YamahaLogo: number; | ||
RolandLogo: number; | ||
KorgLogo: number; | ||
SteinwayAndSonsLogo: number; | ||
CasioLogo: number; | ||
PearlDrumsLogo: number; | ||
}; | ||
}; | ||
} | ||
/** | ||
@@ -270,2 +405,6 @@ | ||
IvoryOriginalBathSoap: number; | ||
LuxSoftTouchSoap: number; | ||
PalmoliveAromaMorningTonicSoap: number; | ||
PearsNaturalGlycerineSoap: number; | ||
YardleyEnglishLavenderSoap: number; | ||
}; | ||
@@ -277,2 +416,6 @@ Electronics: { | ||
SonyPlayStation5: number; | ||
MicrosoftSurfaceBook3: number; | ||
LenovoThinkPadX1Carbon: number; | ||
DellXPS15: number; | ||
HPEnvy13: number; | ||
}; | ||
@@ -284,2 +427,6 @@ FoodAndBeverages: { | ||
Oreo: number; | ||
LaysClassicChips: number; | ||
Snickers: number; | ||
Nutella: number; | ||
MAndMs: number; | ||
}; | ||
@@ -291,2 +438,6 @@ Clothing: { | ||
HAndMBasicTshirt: number; | ||
ZaraDenimJacket: number; | ||
Forever21PrintedDress: number; | ||
GucciLogoTee: number; | ||
BurberryCheckScarf: number; | ||
}; | ||
@@ -293,0 +444,0 @@ } |
31382
1098