• GMOD13 Color Codes
    8 replies, posted
I guess they're called color codes, but I'm talking about how you change the rank color to like golden, red, or blue. Is there a site that gives you the list of codes for each color? Sorry if my question is dumb but i'm new to scripting.
Its easy to find a list of RGB/Hex colors .. using common search engines like; Google, Yahoo, Bing, AltaVista, Cuil, Excite, AloSearch, HotBot .. ect But you'll find this site useful: [url]http://cloford.com/resources/colours/500col.htm[/url] Seems like there are 21 colors with the name "gold" in. If you need help with an admin-mod or just a mod .. then please post what mod you're using.
Colors are defined as Color( RED, GREEN, BLUE ) Here's a site where you can pick from 16ish million colors: [url]http://www.colorpicker.com[/url] Use the R, G, and B values in place of Red, Green and Blue when you define a Color. Edit: Guy above me seemed to have posted as I posted! But yeah, 255*255*255 different variations available. Black would be Color( 0, 0, 0 ) while white is Color( 255, 255, 255 ), red Color( 255, 0, 0 ), green Color( 0, 255, 0 ) and blue Color( 0, 0, 255 )
I prefer this, as it shows you complementary colors as well. [url]http://colorschemedesigner.com/[/url]
Thanks you really appreciate it [editline]22nd June 2013[/editline] Thanks for your replay :D [editline]22nd June 2013[/editline] Thanks!
I use this. [url]http://www.colorschemer.com/online.html[/url]
I was utterly bored: [lua] local htmlColors = { AliceBlue = Color(240, 248, 255), AntiqueWhite = Color(250, 235, 21 Aqua = Color(0, 255, 255), Aquamarine = Color(127, 255, 212), Azure = Color(240, 255, 255), Beige = Color(245, 245, 220), Bisque = Color(255, 228, 196), Black = Color(0, 0, 0), BlanchedAlmond = Color(255, 235, Blue = Color(0, 0, 255), BlueViolet = Color(138, 43, 226), Brown = Color(165, 42, 42), BurlyWood = Color(222, 184, 135), CadetBlue = Color(95, 158, 160), Chartreuse = Color(127, 255, 0), Chocolate = Color(210, 105, 30), Coral = Color(255, 127, 80), CornflowerBlue = Color(100, 149, Cornsilk = Color(255, 248, 220), Crimson = Color(220, 20, 60), Cyan = Color(0, 255, 255), DarkBlue = Color(0, 0, 139), DarkCyan = Color(0, 139, 139), DarkGoldenRod = Color(184, 134, 1 DarkGray = Color(169, 169, 169), DarkGreen = Color(0, 100, 0), DarkKhaki = Color(189, 183, 107), DarkMagenta = Color(139, 0, 139), DarkOliveGreen = Color(85, 107, 4 Darkorange = Color(255, 140, 0), DarkOrchid = Color(153, 50, 204), DarkRed = Color(139, 0, 0), DarkSalmon = Color(233, 150, 122), DarkSeaGreen = Color(143, 188, 14 DarkSlateBlue = Color(72, 61, 139 DarkSlateGray = Color(47, 79, 79), DarkTurquoise = Color(0, 206, 209 DarkViolet = Color(148, 0, 211), DeepPink = Color(255, 20, 147), DeepSkyBlue = Color(0, 191, 255), DimGray = Color(105, 105, 105), DimGrey = Color(105, 105, 105), DodgerBlue = Color(30, 144, 255), FireBrick = Color(178, 34, 34), FloralWhite = Color(255, 250, 240 ForestGreen = Color(34, 139, 34), Fuchsia = Color(255, 0, 255), Gainsboro = Color(220, 220, 220), GhostWhite = Color(248, 248, 255), Gold = Color(255, 215, 0), GoldenRod = Color(218, 165, 32), Gray = Color(128, 128, 128), Green = Color(0, 128, 0), GreenYellow = Color(173, 255, 47), HoneyDew = Color(240, 255, 240), HotPink = Color(255, 105, 180), IndianRed = Color(205, 92, 92), Indigo = Color(75, 0, 130), Ivory = Color(255, 255, 240), Khaki = Color(240, 230, 140), Lavender = Color(230, 230, 250), LavenderBlush = Color(255, 240, 2 LawnGreen = Color(124, 252, 0), LemonChiffon = Color(255, 250, 20 LightBlue = Color(173, 216, 230), LightCoral = Color(240, 128, 128), LightCyan = Color(224, 255, 255), LightGoldenRodYellow = Color(250, LightGray = Color(211, 211, 211), LightGreen = Color(144, 238, 144), LightPink = Color(255, 182, 193), LightSalmon = Color(255, 160, 122 LightSeaGreen = Color(32, 178, 17 LightSkyBlue = Color(135, 206, 25 LightSlateGray = Color(119, 136, LightSteelBlue = Color(176, 196, LightYellow = Color(255, 255, 224 Lime = Color(0, 255, 0), LimeGreen = Color(50, 205, 50), Linen = Color(250, 240, 230), Magenta = Color(255, 0, 255), Maroon = Color(128, 0, 0), MediumAquaMarine = Color(102, 205 MediumBlue = Color(0, 0, 205), MediumOrchid = Color(186, 85, 211 MediumPurple = Color(147, 112, 21 MediumSeaGreen = Color(60, 179, 1 MediumSlateBlue = Color(123, 104, MediumSpringGreen = Color(0, 250, MediumTurquoise = Color(72, 209, MediumVioletRed = Color(199, 21, MidnightBlue = Color(25, 25, 112), MintCream = Color(245, 255, 250), MistyRose = Color(255, 228, 225), Moccasin = Color(255, 228, 181), NavajoWhite = Color(255, 222, 173 Navy = Color(0, 0, 128), OldLace = Color(253, 245, 230), Olive = Color(128, 128, 0), OliveDrab = Color(107, 142, 35), Orange = Color(255, 165, 0), OrangeRed = Color(255, 69, 0), Orchid = Color(218, 112, 214), PaleGoldenRod = Color(238, 232, 1 PaleGreen = Color(152, 251, 152), PaleTurquoise = Color(175, 238, 2 PaleVioletRed = Color(219, 112, 1 PapayaWhip = Color(255, 239, 213), PeachPuff = Color(255, 218, 185), Peru = Color(205, 133, 63), Pink = Color(255, 192, 203), Plum = Color(221, 160, 221), PowderBlue = Color(176, 224, 230), Purple = Color(128, 0, 128), Red = Color(255, 0, 0), RosyBrown = Color(188, 143, 143), RoyalBlue = Color(65, 105, 225), SaddleBrown = Color(139, 69, 19), Salmon = Color(250, 128, 114), SandyBrown = Color(244, 164, 96), SeaGreen = Color(46, 139, 87), SeaShell = Color(255, 245, 238), Sienna = Color(160, 82, 45), Silver = Color(192, 192, 192), SkyBlue = Color(135, 206, 235), SlateBlue = Color(106, 90, 205), SlateGray = Color(112, 128, 144), Snow = Color(255, 250, 250), SpringGreen = Color(0, 255, 127), SteelBlue = Color(70, 130, 180), Tan = Color(210, 180, 140), Teal = Color(0, 128, 128), Thistle = Color(216, 191, 216), Tomato = Color(255, 99, 71), Turquoise = Color(64, 224, 208), Violet = Color(238, 130, 238), Wheat = Color(245, 222, 179), White = Color(255, 255, 255), WhiteSmoke = Color(245, 245, 245), Yellow = Color(255, 255, 0), YellowGreen = Color(154, 205, 50), } function htmlColor(str) local r, g, b = str:match("(%x%x)(%x%x)(%x%x)") if r and g and b then return Color(r, g, b) end local colTpl = htmlColors[str] return Color(colTpl.r, colTpl.g, col.b) end [/lua]
Some of those colours are missing closing brackets and some arguments
[Thanks bro has all the colors I need :D
Sorry, you need to Log In to post a reply to this thread.