Team Spartan Cookies & Milk Forums

Full Version: E2 Global Color Table
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
E2 Global Color Table

I have created a global table containing some colors, this means that using the lines of code below, you will be able to get a color using its name. If the server restarts, the table is gone, so someone needs to re-add it. If there are problems with the table, tell me, I'll see if I can fix them. I'm not adding to this in some time, but if you need it, I will.

Code:
Table = gTable("Colors",1)
Color = Table[<Color Name>,vector]

Current version: 0.4.2
[attachment=9]

List of current colors:
  • Nova-Romulan Green
  • Veegi-Blue
  • Air Force Blue
  • Alice Blue
  • Alizarin Crimson
  • Almond
  • Amaranth
  • Amber
  • American Rose
  • Amethyst
  • Android Green
  • Anti-flash White
  • Antique Brass
  • Antique Fuchsia
  • Antique White
  • Ao
  • Apple Green
  • Apricot
  • Aqua
  • Aquamarine
  • Army Green
  • Arylide Yellow
  • Ash Grey
  • Asparagus
  • Atomic Tangerine
  • Auburn
  • AuroMetalSaurus
  • Awesome
  • Azure
  • Azure Mist
  • Baby Blue
  • Baby Pink
  • Ball Blue
  • Banana Mania
  • Banana Yellow
  • Battleship Grey
  • Bazaar
  • Beau Blue
  • Beaver
  • Beige
  • Bisque
  • Bistre
  • Bittersweet
  • Black
  • Blanched Almond
  • Bleu de France
  • Blizzard Blue
  • Blond
  • Blue
  • Blue Bell
  • Blue Gray
  • Blue Green
  • Blue Purple
  • Blush
  • Bole
  • Bondi Blue
  • Bone
  • Boston University Red
  • Bottle Green
  • Boysenberry
  • Brandeis Blue
  • Brass
  • Brick Red
  • Bright Cerulean
  • Bright Green
  • Bright Lavender
  • Bright Maroon
  • Bright Pink
  • Bright Turquoise
  • Bright Ube
  • Brilliant Lavender
  • Brilliant Rose
  • Brink Pink
  • British Racing Green
  • Bronze
  • Brown
  • Bubble Gum
  • Bubbles
  • Buff
  • Bulgarian Rose
  • Burgundy
  • Burlywood
  • Burnt Orange
  • Burnt Sienna
  • Burnt Umber
  • Byzantine
  • Byzantium
  • CG Blue
  • CG Red
  • Cadet
  • Cadet Blue
  • Cadet Grey
  • Cadmium Green
  • Cadmium Orange
  • Cadmium Red
  • Cadmium Yellow
  • Cafe au lait
  • Cafe noir
  • Cal Poly Pomona Green
  • Cambridge Blue
  • Camel
  • Camouflage Green
  • Canary
  • Canary Yellow
  • Candy Apple Red
  • Candy Pink
  • Capri
  • Caput Mortuum
  • Cardinal
  • Caribbean Green
  • Carmine
  • Carmine Pink
  • Carmine Red
  • Carnation Pink
  • Carnelian
  • Carolina Blue
  • Carrot Orange
  • Celadon
  • Celeste
  • Celestial Blue
  • Cerise
  • Cerise Pink
  • Cerulean
  • Cerulean Blue
  • Chamoisee
  • Campagne
  • Charcoal
  • Chartreuse
  • Cherry
  • Cherry Blossom Pink
  • Chestnut
  • Chocolate
  • Chrome Yellow
Good work i using that colors every day in holograms Smile)
Bump.

Purely because this is helpful for both SF, E2 and other kinds of development like GLua Addons Big Grin
Oh. I could update this at some point if someone wants to use it
E2 has libraries, so you can make it into a file which then returns the table, preventing others from altering the colors. I don't know how E2 does this, but starfall deletes global tables you made on disconnect, not only when the server restarts. Maybe E2 uses an actual table though, I don't know.
(30-08-2017, 12:02 AM)Kosmos Wrote: [ -> ]E2 has libraries, so you can make it into a file which then returns the table, preventing others from altering the colors. I don't know how E2 does this, but starfall deletes global tables you made on disconnect, not only when the server restarts. Maybe E2 uses an actual table though, I don't know.

When I meant it being helpful for SF. I was talking about the color codes lol