Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
Another gauge mystery...colors for text (Read 349 times)
Apr 24th, 2007 at 2:45am

CAFedm   Offline
Colonel
I love YaBB 1G - SP1!
Between CYXD & CYEG, Alberta

Gender: male
Posts: 623
*****
 
I want to change color for some text used in a default-gauge PFD. Here are some examples of the way the colors are listed in the .xml doc:

Color="#1296A5"
Color="#FF00FF"

These two colors need to be changed to bright green. Have checked out the FS2004 SDK (it is an FS9 gauge) but haven't been able to uncover anything to explain this. Any leads are welcome.
 

Brian
IP Logged
 
Reply #1 - Apr 24th, 2007 at 7:29am

dave3cu   Offline
Colonel
Procrastinate now, don't
put it off.
3CU, Northern Wisconsin, USA

Gender: male
Posts: 3077
*****
 
Color="#1296A5"

Color="#FF00FF"


That is the hexadecimal*  equivalents for the decimal R-G-B value of the color.    *(In the wiki page see the 'Hex-triplet' para.)

True
green
would read #00ff00. For other shades you can use the color pallet in an image editor (Paint) to find the R-G-B values. You can 'convert' decimal to hex values using Windows Calculator/Scientific View.
.....Or, as long as your here, use this forums reply/modify window, and pick a color from the text color pallet. "[color=#00ff00][/color]" and copy the value to your xml.
.....Or, here  is a web based converter, where you pick a color or decimal values and get hex values.

Dave
« Last Edit: Apr 24th, 2007 at 2:45pm by dave3cu »  

At that time [1909] the chief engineer was almost always the chief test pilot as well. That had the fortunate result of eliminating poor engineering early in aviation.          Igor Sikorsky

I intend to live forever....so far, so good.         Steven Wright

You know....you can just rip up a to-do list.
IP Logged
 
Reply #2 - Apr 24th, 2007 at 3:54pm

CAFedm   Offline
Colonel
I love YaBB 1G - SP1!
Between CYXD & CYEG, Alberta

Gender: male
Posts: 623
*****
 
I never knew that!! Your're absolutely correct about the colors used for text editing here, that's a neat trick. Many thanks for the help!
 

Brian
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print