Jump to content

Recommended Posts

Posted

I'm working on a wiki article on in-game colors and did a comparison between the colors and hex codes listed in the file named "smf_util.c" and the standard named CSS colors. I found a few discrepancies.

 

2 colors have typos in their hex color codes and therefore will not display correctly:

PaleVioletRed        d87093 -- should be DB7093
MediumPurple        9370d8 -- should be 9370DB

 

All of the various gray color shades use the American spelling "gray" in-game except for "LightGrey"... which is just odd. FYI, CSS uses both spellings: "gray" and the British "grey", even though they have the same RGB hex codes.

 

The game is missing the CSS color "rebeccapurple    663399". This is to be expected as the color name was added to CSS in 2014, 2 years after the retail version of COH was shut down.

 

Just to document it, the game also has defined several named colors that are NOT part of CSS. It's a good thing to have more colors (as long as you know about them).

Feldspar        d19275
LightSlateBlue        8470ff
Villagon        fca91a
VioletRed        d02090

InfoBlue              aadeff
ArchitectTitle          bff897
Architect              a2e7ee
ArchitectDark          5db6b4
ArchitectError          ff9501
ArchitectErrorLit      ffff88

 

I hope this is useful info. Have a great day!

  • Like 2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...