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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
woodjom
Newbie


Joined: 26 Jul 2021
Posts: 2

PostPosted: Mon Jul 26, 2021 3:26 pm   

Color Command - Combination Quirks
 
While trying to get some triggers and other aliases to color #SHOW command text, I came across a few scenarios where the math does not produce the desired color combination

#1: Bright Yellow Background
- #CO 352
- (14+8)*16: Produces a dull Gold color with black text

#2: Bright Yellow Foreground
- #CO 22
- (14+8): Produces a Blue Background (1*16) AND Brown text (6); instead of Yellow Foreground (14+8)

I know ZMud is not the desire client but I have had my license since 1999'ish and don't require a lot of features to play TelNet.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4689
Location: Pensacola, FL, USA

PostPosted: Tue Jul 27, 2021 12:12 am   
 
You can use hexadecimal colors and color words as well, which might aid in getting the proper color.
_________________
Discord: Shalimarwildcat
Reply with quote
woodjom
Newbie


Joined: 26 Jul 2021
Posts: 2

PostPosted: Tue Jul 27, 2021 1:09 am   
 
So is there an undocumented (web) format for the Background, Foreground color scheme?

The help doc (https://www.zuggsoft.com/zmud/help6/COLOR.htm) only alludes to the items described but not how to enhance (Bright) or designate Foreground or Background color's.

I have a long history with CSS syntax.

An example of how to #SHOW and then #CO the text with Background: Bright Yellow and Foreground: Black using Hex would be awesome.
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4689
Location: Pensacola, FL, USA

PostPosted: Tue Jul 27, 2021 2:58 am   
 
Well I don't have all the hex codes memorized, but its generally done in this format:

#CO #RRGGBB #RRGGBB
_________________
Discord: Shalimarwildcat
Reply with quote
jamescarino
Newbie


Joined: 28 Dec 2021
Posts: 1
Location: berlin

PostPosted: Mon Jan 03, 2022 7:02 am   I need a color pallet
 
where did u get that colors? is there a website so u can choose the colors or what?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4689
Location: Pensacola, FL, USA

PostPosted: Wed Jan 05, 2022 12:54 am   
 
Search for a hexadecimal color palette.
_________________
Discord: Shalimarwildcat
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD 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