Tremulous Forum
General => Feedback => Topic started by: Pazuzu on December 14, 2010, 02:35:03 am
-
How much of an overhaul of the game would be necessary to implement hex colors (ie #000=black, #fff=white, #f00=red, etc) in names and messages? Just out of curiosity.
-
wouldnt take much effort but why
the colours we got now is plenty and there wouldn't be much space left in names after using a colourcodes since a single colourcode could be #FFFFFFFF(less 2 FF's if alpha wouldn't be supported)
also your colourcodes are wrong FF is 8bit(255 values) so black(w/out alpha) would be #000000 white(w/out alpha) #FFFFFF etc...
-
I take it you've never seen 12-bit hex colors. AFAIK it's supported under HTML- each color gets 4 bits instead of 8, so that's a total of three hex digits per color.
-
I take it you've never seen 12-bit hex colors. AFAIK it's supported under HTML- each color gets 4 bits instead of 8, so that's a total of three hex digits per color.
maybe im missing something but if #FFF is white then that's only 4bits per colour 12bit per colour would be #FFFFFFFFF since each hex charater is equal to 4bits anyway everything uses 8bits per colour
EDIT wait i know what you mean about 12bit hex colours but thats kinda useless
-
How much of an overhaul of the game would be necessary to implement hex colors (ie #000=black, #fff=white, #f00=red, etc) in names and messages? Just out of curiosity.
Pointless
I take it you've never seen 12-bit hex colors.
The three-digit RGB notation (#rgb) is converted into six-digit form (#rrggbb) by replicating digits, not by adding zeros. For example, #fb0 expands to #ffbb00. This ensures that white (#ffffff) can be specified with the short notation (#fff) and removes any dependencies on the color depth of the display.
it's supported under HTML in CSS
Fixed
-
Doens't Nexuiz have these? Or do i remember competely wrong.
-
Yes, Nexuiz does, ever since the last last release I believe. It would be nice to have hex colors, they are a lot more useful then you think they would be (considering slight altering of colors to eliminate text blending with the map).
-
they are a lot more useful then you think they would be
A lot? go on then, explain their usefulness.
-
they are a lot more useful then you think they would be
A lot? go on then, explain their usefulness.
It's cool and that is usefull!
-
IMO hex colours is overkill (and probably confusing to idiots) but we should extend the current system beyond the current 8 colours.
We could even go for a comprimise between the two, and use base64 encoded 6-bit colour, it's still only one char long but with "easy" conversion from hex values :).
-
You can encode the full RGBA range with just 5 base85 characters...
-
IMO hex colours is overkill (and probably confusing to idiots) but we should extend the current system beyond the current 8 colours.
We could even go for a comprimise between the two, and use base64 encoded 6-bit colour, it's still only one char long but with "easy" conversion from hex values :).
I would think we could easily add at least two more right now, seeing as 9 and 0 are repeats....
-
IMO hex colours is overkill (and probably confusing to idiots) but we should extend the current system beyond the current 8 colours.
We could even go for a comprimise between the two, and use base64 encoded 6-bit colour, it's still only one char long but with "easy" conversion from hex values :).
That would be even more confusing tbh, but it could work with a table.