FANDOM


Line 7: Line 7:
 
| a8legendary | legendary =
 
| a8legendary | legendary =
 
color:#faa400">{{{2}}}
 
color:#faa400">{{{2}}}
| color:#ff0000">{{{2}}} [unknown color: {{{1}}}]<!--
+
| >{{{2}}} <span style="color:#ff0000">[unknown color: {{{1}}}]<!--
 
-->}}</span><!--
 
-->}}</span><!--
 
-->|{{{1}}} <span style="color:#ff0000">[no color]</span><!--
 
-->|{{{1}}} <span style="color:#ff0000">[no color]</span><!--

Revision as of 11:34, October 28, 2018

[edit] Template-info Template documentation
Ambox content 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!}}Hello, world!

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

  • {{color|#00f000}}#00f000
  • {{color|red}}red

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 Asphalt 7 highlighted text
a8common5 #bcd2fe Asphalt 8 common items (5.0) {{a8common5|Text}}Text
a8uncommon5 #00dac2 Asphalt 8 uncommon items (5.0) {{a8uncommon5|Text}}Text
a8rare5 #0084ff Asphalt 8 rare items (5.0) {{a8rare5|Text}}Text
a8epic5 #ad00d6 Asphalt 8 epic items (5.0) {{a8epic5|Text}}Text
a8legendary5 #ff8300 Asphalt 8 legendary items (5.0) {{a8legendary5|Text}}Text
a8common #abd2ff Asphalt 8 common items (pre 5.0) {{a8common|Text}}Text
a8rare #cf8df9 Asphalt 8 rare items (pre 5.0) {{a8rare|Text}}Text
a8legendary #f8a400 Asphalt 8 legendary items (pre 5.0) {{a8legendary|Text}}Text
a8optimal #c3835b Asphalt 8 optimal items (Fusion coins full a8 2,000) {{a8optimal|Text}}Text
a8prime #94b1d4 Asphalt 8 prime items (Fusion coins full a8 2,500) {{a8prime|Text}}Text
a8superb #ffbf50 Asphalt 8 superb items (Fusion coins full a8 3,000) {{a8superb|Text}}Text
a8festival #f77f21 Asphalt 8 Festival items (Fusion coins full a8 3,500) {{a8festival|Text}}Text
a9uncommon #14bbe7 Asphalt 9 uncommon items {{a9uncommon|Text}}Text
a9rare #bf4cdc Asphalt 9 rare items {{a9rare|Text}}Text
a9epic #ffd800 Asphalt 9 epic items {{a9epic|Text}}Text
a8comet #f182e6 Asphalt 8 Comet
a8disruptor #7151ee Asphalt 8 Disruptor
a8forcefield #13f7a7 Asphalt 8 Force Field
a8hyperboost #ffbe00 Asphalt 8 Hyperboost
a8pulsewave #2b9dfe Asphalt 8 Pulsewave
a8surgestrike #ff0000 Asphalt 8 Surge Strike
a6highlight #7be2ff Asphalt 6 highlighted text
a8highlight #ff9600 Asphalt 8 highlighted text
a9highlight #ff0054 Asphalt 9 highlighted text, primary
anhighlight #ffc600 Asphalt Nitro highlighted text
aohighlight #ec008c Asphalt Overdrive highlighted text
aoblue #00aeef Asphalt Overdrive blue text, secondary
aodarkblue #0d7095 Asphalt Overdrive dark blue text, secondary
aopower #00ff00 Asphalt Overdrive power increase text
axhighlight #ffa904 Asphalt Xtreme highlighted text
a9green #c3fb12 Asphalt 9 green, primary
a9cyan #33eff9 Asphalt 9 cyan text, secondary
a9blue #2152ad Asphalt 9 blue text, secondary
a9grey #3f4b57 Asphalt 9 grey text, secondary
a9yellow #ffd300 Asphalt 9 yellow text, secondary
Asphalt Wiki currency text colors
Name Color Used for Corresponding currency template
a7dollars #a1e157 Asphalt 7 Dollars {{a7dollars|Text}}Dollars full a7 Text
a8bpcc #abd2ff Asphalt 8 common car Blueprints {{a8bpcc|Text}}Blueprint car common a8 Text
a8bpbc #abd2ff Asphalt 8 common bike Blueprints {{a8bpbc|Text}}Blueprint bike common a8 Text
a8bpcr #cf8df9 Asphalt 8 rare car Blueprints {{a8bpcr|Text}}Blueprint car rare a8 Text
a8bpcl #f8a400 Asphalt 8 legendary car Blueprints {{a8bpcl|Text}}Blueprint car legendary a8 Text
a8bpbl #f8a400 Asphalt 8 legendary bike Blueprints {{a8bpbl|Text}}Blueprint bike legendary a8 Text
a8coins #faa706 Asphalt 8 5th Anniversary Coins {{a8coins|Text}}A8AnniversaryCoins Text
a86coins #faa706 Asphalt 8 6th Anniversary Coins {{a86coins|Text}}A8 6th anniversary festival coins full Text
a8credits #fddc05 Asphalt 8 Credits {{a8credits|Text}}A8 credits small Text
a8enduro #fdab00 Asphalt 8 Enduro Points {{a8enduro|Text}}A8EnduroPoints Text
a8fcoins #0072ff Asphalt 8 Snowflurry Festival Coins {{a8fcoins|Text}}A8 festival coins small Text
a8flcoins #faa706 Asphalt 8 Fast-Lane Festival Coins {{a8flcoins|Text}}A8 flcoins small Text
a8nycoins #faa706 Asphalt 8 New Year Festival Coins {{a8nycoins|Text}}Festival coins lunar new year full a8 Text
a8fuel #faa706 Asphalt 8 Fuel {{a8fuel|Text}}Fuel small a8 Text
a8fusion #fead00 Asphalt 8 Fusion Points {{a8fusion|Text}}Fusion points small a8 Text
a8fusioncoins #dd81fe Asphalt 8 Fusion Coins {{a8fusioncoins|Text}}Fusion coins full a8 Text
a8hcoins #faa706 Asphalt 8 Halloween Festival Coins {{a8hcoins|Text}}A8HalloweenCoins Text
a8fan #faa706 Asphalt 8 World Tour Fan Points {{a8fan|Text}}A8 fan points full Text
a8helmets #ffca00 Asphalt 8 Helmets {{a8helmets|Text}}Helmets small a8 Text
a8licenses #e09529 Asphalt 8 Licenses {{a8licenses|Text}}Licenses full a8 Text
a8scoins #e00f7f Asphalt 8 Showdown Festival Coins {{a8scoins|Text}}A8 showdown festival coins full Text
a8stars #faa706 Asphalt 8 Stars {{a8stars|Text}}Stars small a8 Text
a8tickets #a4b9cB Asphalt 8 Season Tickets {{a8tickets|Text}}Season tickets small a8 Text
a8tokens #31f3fa Asphalt 8 Tokens {{a8tokens|Text}}A8 tokens full Text
a8viplevel #d5d4d4 Asphalt 8 VIP Level {{a8viplevel|Text}}VIP 1-5 full a8Text
a8vippoints #d5d4d4 Asphalt 8 VIP Points {{a8vippoints|Text}}VIP 1-5 full a8 Text
a9credits #ffc600 Asphalt 9 Credits {{a9credits|Text}}Credits small a9 Text
a9seriesscore #7e38ce Asphalt 9 Series Score {{a9seriesscore|Text}}Series score small a9 Text
a9tickets #ffffff Asphalt 9 Tickets {{a9tickets|Text}}Tickets small a9 Text
a9tokens #0090ff Asphalt 9 Tokens {{a9tokens|Text}}Tokens small a9 Text
a9syndcoins #ad9bf3 Asphalt 9 Syndicate Coins {{a9syndcoins|Text}}Syndicate coins small a9 Text
a9syndpoints #00defd Asphalt 9 Syndicate Points {{a9syndpoints|Text}}Syndicate points small a9 Text
a9hazard #fa0452 Asphalt 9 Hazard {{a9hazard|Text}}Hazard small a9 Text
a9keys #3865c42 Asphalt 9 Keys {{a9keys|Text}}Keys small a9 Text
a9lp #ffffff Asphalt 9 Legend Points {{a9lp|Text}}Text Legend points small a9
a9tradecoins #ff0054 Asphalt 9 Trade Coins {{a9tradecoins|Text}}Trade coins small a9 Text
a9bp #d5d4d4 Asphalt 9 Blueprints (neutral) {{a9bp|Text}}Blueprint a9 Text
a9bpu #14bbe7 Asphalt 9 uncomon Blueprints {{a9bpu|Text}}Blueprint uncommon a9 Text
a9bpr #bf4cdc Asphalt 9 rare Blueprints {{a9bpr|Text}}Blueprint rare a9 Text
a9bpe #ffd800 Asphalt 9 epic Blueprints {{a9bpe|Text}}Blueprint epic a9 Text
ancredits #2697cc Asphalt Nitro Credits {{ancredits|Text}}Credits small an Text
ancreditswhite #ffffff Asphalt Nitro Credits white {{ancreditswhite|Text}}Credits small white an Text
antokens #3bc214 Asphalt Nitro Tokens {{antokens|Text}}An tokens small Text
anfuel #00aadf Asphalt Nitro Fuel {{anfuel|Text}}Fuel small an Text
anstars #f7bb00 Asphalt Nitro Stars {{anstars|Text}}Stars full an Text
anvipcoins #f9bd00 Asphalt Nitro VIP Coins {{anvipcoins|Text}}VIP coins small an Text
anviplevel #f9bd00 Asphalt Nitro VIP Level {{anviplevel|Text}}VIP level small an Text
aobills #56a03b Asphalt Overdrive Bills {{aobills|Text}}Text Bills small ao
aoenergy #f755b5 Asphalt Overdrive Energy {{aoenergy|Text}}Text Energy small ao
aogold #ef9a10 Asphalt Overdrive Gold {{aogold|Text}}Text Gold small ao
aostars #efc229 Asphalt Overdrive Stars {{aostars|Text}}Text Stars full ao
ascash #84c6d2 Asphalt Streetstorm Cash {{ascash|Text}}Text Cash small as
asdiamonds #00def0 Asphalt Streetstorm Diamonds {{asdiamonds|Text}}Text Diamonds small as
axcredits #ffa904 Asphalt Xtreme Credits {{axcredits|Text}}Ax credits full Text
axtokens #31f3fa Asphalt Xtreme Tokens {{axtokens|Text}}Ax tokens full Text
axtickets #e99e13 Asphalt Xtreme Tickets {{axtickets|Text}}Tickets small ax Text
axbp #d5d4d4 Asphalt Xtreme Blueprints (neutral) {{axbp|Text}}Blueprints neutral small ax Text
axbpd #618d91 Asphalt Xtreme Class-D Blueprints {{axbpd|Text}}Blueprints d small ax Text
axbpc #0885c0 Asphalt Xtreme Class-C Blueprints {{axbpc|Text}}Blueprints c small ax Text
axbpb #674f96 Asphalt Xtreme Class-B Blueprints {{axbpb|Text}}Blueprints b small ax Text
axbpa #ee810a Asphalt Xtreme Class-A Blueprints {{axbpa|Text}}Blueprints a small ax Text
axbps #f8c21e Asphalt Xtreme Class-S Blueprints {{axbps|Text}}Blueprints s small ax Text
axstars #ffa904 Asphalt Xtreme Stars {{axstars|Text}}Stars full ax Text

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 8 (v5.0 onward):

Asphalt 8 Vehicle Kits:

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

Asphalt 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 7:

Asphalt 8:

Asphalt 9:

Asphalt Nitro:

Asphalt Overdrive:

Asphalt Streetstorm:

Asphalt Xtreme:

General:

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

Redirects

</div>

Community content is available under CC-BY-SA unless otherwise noted.