Asphalt Wiki
Asphalt Wiki
Line 9: Line 9:
 
| color:#ff0000">{{{1}}} (unknown color)<!--
 
| color:#ff0000">{{{1}}} (unknown color)<!--
 
-->}}</span><!--
 
-->}}</span><!--
-->|<span style="color:#ff0000">{{{1}}} (no color)<!--
+
-->|<span style="color:#ff0000">{{{1}}} (no color)</span><!--
 
-->}}</includeonly><!--
 
-->}}</includeonly><!--
 
--><noinclude>{{documentation}}</noinclude>
 
--><noinclude>{{documentation}}</noinclude>

Revision as of 11:04, 28 October 2018

[edit] Template-info.png Template documentation
Ambox content.png This template is used on 3,400+ pages.
To avoid any disruptions and to save server load, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. As a courtesy to other users, please discuss any changes at the talk page before implementing them.

This template can be used to specify the foreground color of a span of text. Acceptable values are

  • Asphalt-specific colors like a8rare, a8legendary, etc.,
  • RGB hex codes, e. g. #c9e72a, or
  • any of the web colors red, blue, green, moccasin, darkorchid, etc.

To set the background color of a span of text, use {{Background color}}.

Usage

{{color | <name of color> or <hex code of color> | <text>}}

Examples

  • {{color|a8rare|Hello, world!}}Hello, world!
  • {{color|#00f000|Hello, world!}}#00f000 (unknown color)

If the second parameter is omitted, the color value is displayed as text:

  • {{color|#00f000}}#00f000 (no color)
  • {{color|red}}red (no color)

Web colors

  • See Wikipedia: Web colors for a complete overview.

Asphalt colors

In-game text colors
Name Color Used for Corresponding text color template
a7highlight #ffc600 (no color) Asphalt 7 highlighted text
a8common5 #bcd2fe (no color) Asphalt 8 common items (5.0) {{a8common5|Text}}a8common5 (unknown color)
a8uncommon5 #00dac2 (no color) Asphalt 8 uncommon items (5.0) {{a8uncommon5|Text}}a8uncommon5 (unknown color)
a8rare5 #0084ff (no color) Asphalt 8 rare items (5.0) {{a8rare5|Text}}a8rare5 (unknown color)
a8epic5 #ad00d6 (no color) Asphalt 8 epic items (5.0) {{a8epic5|Text}}a8epic5 (unknown color)
a8legendary5 #ff8300 (no color) Asphalt 8 legendary items (5.0) {{a8legendary5|Text}}a8legendary5 (unknown color)
a8common #abd2ff (no color) Asphalt 8 common items (pre 5.0) {{a8common|Text}}a8common (unknown color)
a8rare #cf8df9 (no color) Asphalt 8 rare items (pre 5.0) {{a8rare|Text}}Text
a8legendary #f8a400 (no color) Asphalt 8 legendary items (pre 5.0) {{a8legendary|Text}}Text
a8optimal #c3835b (no color) Asphalt 8 optimal items {{a8optimal|Text}}a8optimal (unknown color)
a8prime #94b1d4 (no color) Asphalt 8 prime items {{a8prime|Text}}a8prime (unknown color)
a8superb #ffbf50 (no color) Asphalt 8 superb items {{a8superb|Text}}a8superb (unknown color)
a8festival #f77f21 (no color) Asphalt 8 Festival items {{a8festival|Text}}a8festival (unknown color)
a9uncommon #14bbe7 (no color) Asphalt 9 uncommon items {{a9uncommon|Text}}a9uncommon (unknown color)
a9rare #bf4cdc (no color) Asphalt 9 rare items {{a9rare|Text}}a9rare (unknown color)
a9epic #ffd800 (no color) Asphalt 9 epic items {{a9epic|Text}}a9epic (unknown color)
asgray #9cbebb (no color) Asphalt Streetstorm gray items {{asgray|Text}}asgray (unknown color)
asgreen #55c78e (no color) Asphalt Streetstorm green items {{asgreen|Text}}asgreen (unknown color)
asorange #ff714f (no color) Asphalt Streetstorm orange items {{asorange|Text}}asorange (unknown color)
asblue #8fbdff (no color) Asphalt Streetstorm blue items {{asblue|Text}}asblue (unknown color)
asred #ff3464 (no color) Asphalt Streetstorm red items {{asred|Text}}asred (unknown color)
a8comet #f182e6 (no color) Asphalt 8 Comet
a8disruptor #7151ee (no color) Asphalt 8 Disruptor
a8forcefield #13f7a7 (no color) Asphalt 8 Force Field
a8hyperboost #ffbe00 (no color) Asphalt 8 Hyperboost
a8pulsewave #2b9dfe (no color) Asphalt 8 Pulsewave
a8surgestrike #ff0000 (no color) Asphalt 8 Surge Strike
a6highlight #7be2ff (no color) Asphalt 6 highlighted text
a8highlight #ff9600 (no color) Asphalt 8 highlighted text
a9highlight #ff0054 (no color) Asphalt 9 highlighted text, primary
anhighlight #ffc600 (no color) Asphalt Nitro highlighted text
aohighlight #ec008c (no color) Asphalt Overdrive highlighted text
aoblue #00aeef (no color) Asphalt Overdrive blue text, secondary
aodarkblue #0d7095 (no color) Asphalt Overdrive dark blue text, secondary
aopower #00ff00 (no color) Asphalt Overdrive power increase text
axhighlight #ffa904 (no color) Asphalt Xtreme highlighted text
a9green #c3fb12 (no color) Asphalt 9 green, primary
a9cyan #33eff9 (no color) Asphalt 9 cyan text, secondary
a9blue #2152ad (no color) Asphalt 9 blue text, secondary
a9grey #3f4b57 (no color) Asphalt 9 grey text, secondary
a9yellow #ffd300 (no color) Asphalt 9 yellow text, secondary
Asphalt Wiki currency text colors
Name Color Used for Corresponding currency template
a7dollars #a1e157 (no color) Asphalt 7 Dollars {{a7dollars|Text}}Dollars a7dollars (unknown color)
a8bpcc #abd2ff (no color) Asphalt 8 common car Blueprints {{a8bpcc|Text}}Common Car Blueprints a8bpcc (unknown color)
a8bpbc #abd2ff (no color) Asphalt 8 common bike Blueprints {{a8bpbc|Text}}Common Bike Blueprints a8bpbc (unknown color)
a8bpcr #cf8df9 (no color) Asphalt 8 rare car Blueprints {{a8bpcr|Text}}Rare Car Blueprints a8bpcr (unknown color)
a8bpcl #f8a400 (no color) Asphalt 8 legendary car Blueprints {{a8bpcl|Text}}Legendary Car Blueprints a8bpcl (unknown color)
a8bpbl #f8a400 (no color) Asphalt 8 legendary bike Blueprints {{a8bpbl|Text}}Legendary Bike Blueprints a8bpbl (unknown color)
a8coins #faa706 (no color) Asphalt 8 5th Anniversary Coins {{a8coins|Text}}Anniversary Coins a8coins (unknown color)
a86coins #faa706 (no color) Asphalt 8 6th Anniversary Coins {{a86coins|Text}}Festival Coins a86coins (unknown color)
a8credits #fddc05 (no color) Asphalt 8 Credits {{a8credits|Text}}Credits a8credits (unknown color)
a8enduro #fdab00 (no color) Asphalt 8 Enduro Points {{a8enduro|Text}}Enduro Points a8enduro (unknown color)
a8fcoins #0072ff (no color) Asphalt 8 Snowflurry Festival Coins {{a8fcoins|Text}}Festival Coins a8fcoins (unknown color)
a8flcoins #faa706 (no color) Asphalt 8 Fast-Lane Festival Coins {{a8flcoins|Text}}Festival Coins a8flcoins (unknown color)
a8nycoins #faa706 (no color) Asphalt 8 New Year Festival Coins {{a8nycoins|Text}}Festival Coins a8nycoins (unknown color)
a8fuel #faa706 (no color) Asphalt 8 Fuel {{a8fuel|Text}}Fuel a8fuel (unknown color)
a8fusion #fead00 (no color) Asphalt 8 Fusion Points {{a8fusion|Text}}Fusion Points a8fusion (unknown color)
a8fusioncoins #dd81fe (no color) Asphalt 8 Fusion Coins {{a8fusioncoins|Text}}Fusion Coins a8fusioncoins (unknown color)
a8hcoins #faa706 (no color) Asphalt 8 Halloween Festival Coins {{a8hcoins|Text}}Halloween Coins a8hcoins (unknown color)
a8fan #faa706 (no color) Asphalt 8 World Tour Fan Points {{a8fan|Text}}Fan Points a8fan (unknown color)
a8helmets #ffca00 (no color) Asphalt 8 Helmets {{a8helmets|Text}}Helmets a8helmets (unknown color)
a8licenses #e09529 (no color) Asphalt 8 Licenses {{a8licenses|Text}}Licenses a8licenses (unknown color)
a8scoins #e00f7f (no color) Asphalt 8 Showdown Festival Coins {{a8scoins|Text}}Festival Coins a8scoins (unknown color)
a8stars #faa706 (no color) Asphalt 8 Stars {{a8stars|Text}}Stars a8stars (unknown color)
a8bluestars #35d0fe (no color) Asphalt 8 Blue Stars {{a8bluestars|Text}}Blue Stars a8bluestars (unknown color)
a8tickets #a4b9cB (no color) Asphalt 8 Season Tickets {{a8tickets|Text}}Season Tickets a8tickets (unknown color)
a8gauntlettickets #ffffff (no color) Asphalt 8 Gauntlet Tickets {{a8gauntlettickets|Text}}Gauntlet Tickets a8gauntlettickets (unknown color)
a8goldengauntlettickets #f5c106 (no color) Asphalt 8 Golden Gauntlet Tickets {{a8goldengauntlettickets|Text}}Golden Gauntlet Tickets a8goldengauntlettickets (unknown color)
a8gauntletbadges #ff474a (no color) Asphalt 8 Gauntlet Badges {{a8gauntletbadges|Text}}Gauntlet Badges a8gauntletbadges (unknown color)
a8tokens #31f3fa (no color) Asphalt 8 Tokens {{a8tokens|Text}}Tokens a8tokens (unknown color)
a8viplevel #d5d4d4 (no color) Asphalt 8 VIP Level {{a8viplevel|Text}}VIP Levela8viplevel (unknown color)
a8vippoints #d5d4d4 (no color) Asphalt 8 VIP Points {{a8vippoints|Text}}VIP Points a8vippoints (unknown color)
a9credits #ffc600 (no color) Asphalt 9 Credits {{a9credits|Text}}Credits a9credits (unknown color)
a9seriesscore #7e38ce (no color) Asphalt 9 Series Score {{a9seriesscore|Text}}Series Score a9seriesscore (unknown color)
a9tickets #ffffff (no color) Asphalt 9 Tickets {{a9tickets|Text}}Tickets a9tickets (unknown color)
a9tokens #0090ff (no color) Asphalt 9 Tokens {{a9tokens|Text}}Tokens a9tokens (unknown color)
a9syndcoins #ad9bf3 (no color) Asphalt 9 Syndicate Coins {{a9syndcoins|Text}}Syndicate Coins a9syndcoins (unknown color)
a9syndpoints #00defd (no color) Asphalt 9 Syndicate Points {{a9syndpoints|Text}}Syndicate Points a9syndpoints (unknown color)
a9hazard #fa0452 (no color) Asphalt 9 Hazard {{a9hazard|Text}}Hazard a9hazard (unknown color)
a9keys #3865c42 (no color) Asphalt 9 Keys {{a9keys|Text}}Keys a9keys (unknown color)
a9lp #ffffff (no color) Asphalt 9 Legend Points {{a9lp|Text}}a9lp (unknown color) Legend Points
a9tradecoins #ff0054 (no color) Asphalt 9 Trade Coins {{a9tradecoins|Text}}Trade Coins a9tradecoins (unknown color)
a9bp #d5d4d4 (no color) Asphalt 9 Blueprints (neutral) {{a9bp|Text}}Blueprints a9bp (unknown color)
a9bpu #14bbe7 (no color) Asphalt 9 uncomon Blueprints {{a9bpu|Text}}Uncommon Blueprints a9bpu (unknown color)
a9bpr #bf4cdc (no color) Asphalt 9 rare Blueprints {{a9bpr|Text}}Rare Blueprints a9bpr (unknown color)
a9bpe #ffd800 (no color) Asphalt 9 epic Blueprints {{a9bpe|Text}}Epic Blueprints a9bpe (unknown color)
9cvouchers #e78915 (no color) Asphalt 9 China Vouchers {{9cvouchers|Text}}Vouchers 9cvouchers (unknown color)
ancredits #2697cc (no color) Asphalt Nitro Credits {{ancredits|Text}}Credits ANCredits (unknown color)
ancreditswhite #ffffff (no color) Asphalt Nitro Credits white {{ancreditswhite|Text}}Credits ancreditswhite (unknown color)
antokens #3bc214 (no color) Asphalt Nitro Tokens {{antokens|Text}}Tokens ANTokens (unknown color)
anfuel #00aadf (no color) Asphalt Nitro Fuel {{anfuel|Text}}Fuel anfuel (unknown color)
anstars #f7bb00 (no color) Asphalt Nitro Stars {{anstars|Text}}Stars anstars (unknown color)
anvipcoins #f9bd00 (no color) Asphalt Nitro VIP Coins {{anvipcoins|Text}}VIP Coins anvipcoins (unknown color)
anviplevel #f9bd00 (no color) Asphalt Nitro VIP Level {{anviplevel|Text}}VIP Level anviplevel (unknown color)
aobills #56a03b (no color) Asphalt Overdrive Bills {{aobills|Text}}aobills (unknown color) Bills
aoenergy #f755b5 (no color) Asphalt Overdrive Energy {{aoenergy|Text}}aoenergy (unknown color) Energy
aogold #ef9a10 (no color) Asphalt Overdrive Gold {{aogold|Text}}aogold (unknown color) Gold
aostars #efc229 (no color) Asphalt Overdrive Stars {{aostars|Text}}aostars (unknown color) Stars
ascash #84c6d2 (no color) Asphalt Streetstorm Cash {{ascash|Text}}ascash (unknown color) Cash
asdiamonds #00def0 (no color) Asphalt Streetstorm Diamonds {{asdiamonds|Text}}asdiamonds (unknown color) Diamonds
asbp #00adf1 (no color) Asphalt Streetstorm Blueprints {{asbp|Text}}asbp (unknown color) Blueprints
assubscribers #70ffff (no color) Asphalt Streetstorm Subscribers {{assubscribers|Text}}assubscribers (unknown color) Subscribers
aseventpoints #70ffff (no color) Asphalt Streetstorm Event Points {{aseventpoints|Text}}aseventpoints (unknown color) Event Points
asdriverrating #70ffff (no color) Asphalt Streetstorm Driver Rating {{asdriverrating|Text}}asdriverrating (unknown color) Driver Rating
axcredits #ffa904 (no color) Asphalt Xtreme Credits {{axcredits|Text}}Credits axcredits (unknown color)
axtokens #31f3fa (no color) Asphalt Xtreme Tokens {{axtokens|Text}}Tokens axtokens (unknown color)
axtickets #e99e13 (no color) Asphalt Xtreme Tickets {{axtickets|Text}}Tickets axtickets (unknown color)
axbp #d5d4d4 (no color) Asphalt Xtreme Blueprints (neutral) {{axbp|Text}}Blueprints axbp (unknown color)
axbpd #618d91 (no color) Asphalt Xtreme Class-D Blueprints {{axbpd|Text}}Class-D Blueprints axbpd (unknown color)
axbpc #0885c0 (no color) Asphalt Xtreme Class-C Blueprints {{axbpc|Text}}Class-C Blueprints axbpc (unknown color)
axbpb #674f96 (no color) Asphalt Xtreme Class-B Blueprints {{axbpb|Text}}Class-B Blueprints axbpb (unknown color)
axbpa #ee810a (no color) Asphalt Xtreme Class-A Blueprints {{axbpa|Text}}Class-A Blueprints axbpa (unknown color)
axbps #f8c21e (no color) Asphalt Xtreme Class-S Blueprints {{axbps|Text}}Class-S Blueprints axbps (unknown color)
axstars #ffa904 (no color) Asphalt Xtreme Stars {{axstars|Text}}Stars axstars (unknown color)

Technical details

Before applying a color, {{Color}} calls {{Color code}} to see if there is an Asphalt-specific color name to be used.

To add a new color definition, go to {{Color code}} and follow the instructions in the "Adding new colors" section.

See also

Text color templates: Asphalt 9:

  • {{A9uncommon}}, {{9u}} for a9uncommon (unknown color) rarity
  • {{A9rare}}, {{9r}} for a9rare (unknown color) rarity
  • {{A9epic}}, {{9e}} for a9epic (unknown color) rarity

Asphalt Streetstorm:

  • {{Asgray}} for asgray (unknown color) rarity
  • {{Asgreen}} for asgreen (unknown color) rarity
  • {{Asorange}} for asorange (unknown color) rarity
  • {{Asblue}} for asblue (unknown color) rarity
  • {{Asred}} for asred (unknown color) rarity

Asphalt 8 (v5.0 onward):

  • {{A8common5}}, {{8c}} for a8common5 (unknown color) rarity
  • {{A8uncommon5}}, {{8u}} for a8uncommon5 (unknown color) rarity
  • {{A8rare5}}, {{8r}} for a8rare5 (unknown color) rarity
  • {{A8epic5}}, {{8e}} for a8epic5 (unknown color) rarity
  • {{A8legendary5}}, {{8l}} for a8legendary5 (unknown color) rarity

Asphalt 8 Vehicle Kits:

  • {{A8optimal}} for a8optimal (unknown color) rarity
  • {{A8prime}} for a8prime (unknown color) rarity
  • {{A8superb}} for a8superb (unknown color) rarity
  • {{A8festival}} for a8festival (unknown color) rarity

Asphalt Nitro and Asphalt 8 (until v4.9):

General:

  • {{Color}}, the main template called by all text color templates
  • {{Color code}}, the container template for Asphalt-specific color definitions
  • {{Background color}}, sets the background color only
  • {{Font}}, can set font face, text color and background color

Currency templates: Asphalt 9 China:

Asphalt 9:

Asphalt Streetstorm:

Asphalt Xtreme:

Asphalt Nitro:

Asphalt Overdrive:

Asphalt 8:

Asphalt 7:

General:

  • {{Currency}}, the metatemplate called by all currency templates

Redirects