v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
40d Talk:Color
Revision as of 03:54, 6 November 2007 by VengefulDonut (talk | contribs) (→Game colors vs Webfriendly)
Game colors vs Webfriendly
Ok, so the game colors aren't the webfriendly colors consisting of combinations of hexadecimal 00, 33, 66, 99, cc, ff (which can be abbreviated to the single digits 0, 3, 6, 9, c, f). So, what color values do we go with for tiles? Is there even a discernible difference between the color as in the game, or a web friendly approximation, that is, should color #808080 for example be approximated to #999999 (same as #999)?
Examples:
Object | Code | Game | Web |
---|---|---|---|
Galena | [COLOR:7:7:1] | £ |
£
|
Sphalerite | [COLOR:0:7:1] | £ |
£
|
Pig tail | [COLOR:7:0:0] | τ |
τ
|
Plump helmet | [COLOR:5:0:0] | ♠ |
♠
|
Plump helmet spawn | [COLOR:4:0:1] | . |
.
|
Compare with the colors from Oupost Ducimemal. --Mechturk 20:55, 5 November 2007 (EST)
- On the old wiki, we went with the game colors. --Savok 22:45, 5 November 2007 (EST)
- The in game colors are perfectly web friendly rgb values. If you look up the numbers from the init file and convert to hexadecimal, everything is peachy keen. You'll note every color value is divisible by 16, meaning they perfectly line up with 3 digit color codes.VengefulDonut 22:52, 5 November 2007 (EST)