Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
SupadudeX
Beginner


Joined: 05 May 2007
Posts: 17

PostPosted: Fri May 18, 2007 11:03 pm   

Color Values
 
Can anyone tell me or point me to all the color codes that can be used with the #COLOR command? I only know of simple ones like red, blue, grey...etc. Is there a complete list?
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Fri May 18, 2007 11:14 pm   
 
I remember Tech posted some lovely code to do this very job. It adds a command that will not only print the names of the colours, but also colour them accordingly.

#alias ColourWheel {#FORALL @Colours {#SAYPROMPT {<color %i>%i</color> }}}
#var Colours {aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen}

I apologise for stretching the forums so much... there's no way to make it break it up :(

Oh and incidentally, RRGGBB values are valid too, so feel free to use any random colours your colour picker of choice throws out.
Reply with quote
SupadudeX
Beginner


Joined: 05 May 2007
Posts: 17

PostPosted: Sat May 19, 2007 7:52 am   
 
Thanks alot. This is exactly what I wanted.
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sat May 19, 2007 9:17 pm   
 
I also see that Fang put in the package library so that's always another way to get it.

Plus to code isn't mine originally. It was someone else's code that I tweaked abit.
_________________
Asati di tempari!
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Sat May 19, 2007 9:39 pm   
 
I did, but it's an old beta package and is corrupted (I downloaded it to find a window had materialised in it!). I'll update it later, though :)

EDIT: This window thing is really annoying me now. I downloaded the package, deleted the window, saved it, closed CMUD and opened it again just to make sure, uploaded it, and window was back! Quite frustrating.
Reply with quote
Tech
GURU


Joined: 18 Oct 2000
Posts: 2733
Location: Atlanta, USA

PostPosted: Sat May 19, 2007 9:54 pm   
 
Heh... I haven't tried for a while, but I was having trouble uploading packages with windows. Afterwards they don't get downloaded completely.

(And yes I know that's off topic. Very Happy )
_________________
Asati di tempari!
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net