Author Topic: Exact colors...  (Read 2230 times)

0 Members and 5 Guests are viewing this topic.

Offline Gnintendo

  • Major
  • *
  • Posts: 61
Exact colors...
« on: February 09, 2008, 02:12:59 pm »
What are the exact HTML colors of the names of the Alpha and Bravo teams...I need it for a script..., make sure it's exact.

Offline ghg

  • Camper
  • ***
  • Posts: 411
  • Village Idiot
Re: Exact colors...
« Reply #1 on: February 09, 2008, 02:19:22 pm »
red and blue, in RGB, that's 255,0,0, and 0,0,255.
Honestly, just look it up on a chart of the internet.
-=Gradius wuz you=-

Offline Gnintendo

  • Major
  • *
  • Posts: 61
Re: Exact colors...
« Reply #2 on: February 09, 2008, 02:26:29 pm »
red and blue, in RGB, that's 255,0,0, and 0,0,255.
Honestly, just look it up on a chart of the internet.
I know how to look up red and blue, I want to know what the EXACT colors are that soldat uses to display the names when you press f1.

Offline chrisgbk

  • Moderator
  • Veteran
  • *****
  • Posts: 1739
Re: Exact colors...
« Reply #3 on: February 09, 2008, 03:37:37 pm »
red and blue, in RGB, that's 255,0,0, and 0,0,255.
Honestly, just look it up on a chart of the internet.
I know how to look up red and blue, I want to know what the EXACT colors are that soldat uses to display the names when you press f1.

Those are the exact colors Soldat uses, only they have an alpha value of 0xC8 so they are blended with the background which itself is semi-transparent.

(those values are equivilant to 0xFF0000 and 0x0000FF for red and blue respectively)
« Last Edit: February 09, 2008, 03:50:20 pm by chrisgbk »

Offline Gnintendo

  • Major
  • *
  • Posts: 61
Re: Exact colors...
« Reply #4 on: February 09, 2008, 04:39:29 pm »
Quote
Those are the exact colors Soldat uses, only they have an alpha value of 0xC8 so they are blended with the background which itself is semi-transparent.

(those values are equivilant to 0xFF0000 and 0x0000FF for red and blue respectively)
Oh ok, I didn't realize soldat used exact red and blue.  Like you said, the slight transparency made it look different, thank you.

Offline rhide

  • Major
  • *
  • Posts: 60
  • Coffee-addict
    • Vrastar-Hai soldat clan
Re: Exact colors...
« Reply #5 on: February 10, 2008, 03:56:08 pm »
In case you need some other colors you could just screenshot soldat, paste it into gimp, photoshop or whatever program you may have, and use the pick color tool
Warning! Division by zero seriously injures yourself and the people in your surroundings.

Proud member of Vrastar-Hai:
http://www.guldheden.com/~erga050/vrastar-hai

Offline danmer

  • Camper
  • ***
  • Posts: 466
  • crabhead
Re: Exact colors...
« Reply #6 on: February 11, 2008, 02:22:18 am »
In case you need some other colors you could just screenshot soldat, paste it into gimp, photoshop or whatever program you may have, and use the pick color tool
but, like in this case, if it's semi-transparent and blends with the background... :-\

Offline Gnintendo

  • Major
  • *
  • Posts: 61
Re: Exact colors...
« Reply #7 on: February 11, 2008, 04:42:28 pm »
In case you need some other colors you could just screenshot soldat, paste it into gimp, photoshop or whatever program you may have, and use the pick color tool
but, like in this case, if it's semi-transparent and blends with the background... :-\
The only true way to get the correct color, is to find out this:

A. Color of text.
B. Transparency % of text
C. Color of that blackish background (f1)
D. Transparency level of the blackish background

Then use gimp or photoshop or whatever and make the different layers with the correct transparency and take that color, that would be as close as you can get without putting in actual transparency in the final product.

Also I need some other colors from the soldat teams, yes the exact colors.

Omega team color
Charlie team color
Delta team color
and Spectator color

Thanks.

EDIT:
And please no guessing, I want to know the actual colors soldat uses, if I wanted to just know the approximate color I would have used my knowlage of HTML to just use black yellow green and purple, but I want to know the exact colors, if you don't know, don't post just some random purple html or whatever!
« Last Edit: February 11, 2008, 04:46:28 pm by Gnintendo »

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Exact colors...
« Reply #8 on: February 11, 2008, 09:42:10 pm »
A while ago I used a bunch of screen shots and color getting and made up this list: http://forums.soldat.pl/index.php?topic=14374
But that is only assuming that transparency is 100% (or is it 0%, i get alpha, transparency, opaque, and  backwards sometimes :P), but as mentioned b4, it isn't so this isn't what you want; but in whatever case, if you don't get the answer your looking for, ur free to use this

Omega team color? thought there was only deathmatch (which changes per player); alpha (red), bravo, charlie, delta, and spectator... am i missing something?

Offline Boblekonvolutt

  • Soldier
  • **
  • Posts: 222
  • "YOU are a CAR."
Re: Exact colors...
« Reply #9 on: February 11, 2008, 09:49:43 pm »
He sais it's the black team, i.e 0/dm. I wasn't aware it was called Omega, though.

Offline Gnintendo

  • Major
  • *
  • Posts: 61
Re: Exact colors...
« Reply #10 on: February 12, 2008, 07:17:59 am »
A while ago I used a bunch of screen shots and color getting and made up this list: http://forums.soldat.pl/index.php?topic=14374
But that is only assuming that transparency is 100% (or is it 0%, i get alpha, transparency, opaque, and backwards sometimes :P), but as mentioned b4, it isn't so this isn't what you want; but in whatever case, if you don't get the answer your looking for, ur free to use this

Omega team color? thought there was only deathmatch (which changes per player); alpha (red), bravo, charlie, delta, and spectator... am i missing something?
Omega team is black, your name shows up as a very dark black.  Join as a spectator in a server you're an admin on and do /setteam0 ID
Just do it to yourself, that will set you to Omega.

Also the omega shirt color is whatever color you custom-picked...but your name is still black.

Offline chrisgbk

  • Moderator
  • Veteran
  • *****
  • Posts: 1739
Re: Exact colors...
« Reply #11 on: February 12, 2008, 05:05:06 pm »
A while ago I used a bunch of screen shots and color getting and made up this list: http://forums.soldat.pl/index.php?topic=14374
But that is only assuming that transparency is 100% (or is it 0%, i get alpha, transparency, opaque, and backwards sometimes :P), but as mentioned b4, it isn't so this isn't what you want; but in whatever case, if you don't get the answer your looking for, ur free to use this

Omega team color? thought there was only deathmatch (which changes per player); alpha (red), bravo, charlie, delta, and spectator... am i missing something?
Omega team is black, your name shows up as a very dark black.  Join as a spectator in a server you're an admin on and do /setteam0 ID
Just do it to yourself, that will set you to Omega.

Also the omega shirt color is whatever color you custom-picked...but your name is still black.

Technically, team 0 is the deathmatch team; when not running a teambased gameplay mode, everyone who joins is auto-assigned to team 0.

Offline Gnintendo

  • Major
  • *
  • Posts: 61
Re: Exact colors...
« Reply #12 on: February 12, 2008, 05:19:57 pm »
A while ago I used a bunch of screen shots and color getting and made up this list: http://forums.soldat.pl/index.php?topic=14374
But that is only assuming that transparency is 100% (or is it 0%, i get alpha, transparency, opaque, and backwards sometimes :P), but as mentioned b4, it isn't so this isn't what you want; but in whatever case, if you don't get the answer your looking for, ur free to use this

Omega team color? thought there was only deathmatch (which changes per player); alpha (red), bravo, charlie, delta, and spectator... am i missing something?
Omega team is black, your name shows up as a very dark black. Join as a spectator in a server you're an admin on and do /setteam0 ID
Just do it to yourself, that will set you to Omega.

Also the omega shirt color is whatever color you custom-picked...but your name is still black.

Technically, team 0 is the deathmatch team; when not running a teambased gameplay mode, everyone who joins is auto-assigned to team 0.
Yep, I was hoping you'd know the colors, as I'd like to stay constant throughout my colors so I just want to know the actual color without the transparency, I figured you would know.

Offline chrisgbk

  • Moderator
  • Veteran
  • *****
  • Posts: 1739
Re: Exact colors...
« Reply #13 on: February 12, 2008, 06:02:26 pm »
Since the final color depends on what the color underneath it is, it's impossible to say, and the color will vary depending on the background. The team colors are all exact fixed colors ($000000 black, $FF0000 red, $0000FF blue, $FFFF00 yellow, $00FF00 green).

Since the text uses an alpha value of $C8, that's approx 78% alpha. The final color is calculated as alpha * color1 + (1 - alpha) * color2, where color1 is the text color and color2 is the underlying image.

Putting Red text on a black background thus results in a final value of $C70000, while putting red text on a white background($FFFFFF) results in a value of $FF3838.

Basically what I'm saying is that on maps with light colored backgrounds the final color you see is lighter, while on dark maps the color is darker.

Dark Map
Actual Font Color
Light Map
« Last Edit: February 12, 2008, 06:29:49 pm by chrisgbk »

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Exact colors...
« Reply #14 on: February 12, 2008, 07:38:29 pm »
alpha * color1 + (1 - alpha) * color2
took a while b4 i realized that alpha is a number between 0 and 1 and not 0 and 255 (as hex); tried to plug it into calculator and came out funny :)
« Last Edit: February 12, 2008, 07:50:05 pm by DorkeyDear »

Offline Gnintendo

  • Major
  • *
  • Posts: 61
Re: Exact colors...
« Reply #15 on: February 12, 2008, 09:26:11 pm »
Since the final color depends on what the color underneath it is, it's impossible to say, and the color will vary depending on the background. The team colors are all exact fixed colors ($000000 black, $FF0000 red, $0000FF blue, $FFFF00 yellow, $00FF00 green).

Since the text uses an alpha value of $C8, that's approx 78% alpha. The final color is calculated as alpha * color1 + (1 - alpha) * color2, where color1 is the text color and color2 is the underlying image.

Putting Red text on a black background thus results in a final value of $C70000, while putting red text on a white background($FFFFFF) results in a value of $FF3838.

Basically what I'm saying is that on maps with light colored backgrounds the final color you see is lighter, while on dark maps the color is darker.

Dark Map
Actual Font Color
Light Map
You didn't mention the only fixed color that truly threw me...spectator...

Offline chrisgbk

  • Moderator
  • Veteran
  • *****
  • Posts: 1739
Re: Exact colors...
« Reply #16 on: February 12, 2008, 10:32:05 pm »
Spectator seems to be double drawn, with a slight offset so it kind of makes it appear slightly 3D:

Drawn semi transparent black $71000000 then drawn again $71DC32C8. You'll have to calculate the value; it end's up coming out a purple color at any rate.

Offline Gnintendo

  • Major
  • *
  • Posts: 61
Re: Exact colors...
« Reply #17 on: February 13, 2008, 04:19:22 pm »
Spectator seems to be double drawn, with a slight offset so it kind of makes it appear slightly 3D:

Drawn semi transparent black $71000000 then drawn again $71DC32C8. You'll have to calculate the value; it end's up coming out a purple color at any rate.
As a solid single HTML I got 0xb02aa0.

Looks pretty good to me, what do you think?